Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Line break
  FAQ FAQ  Forum Search   Register Register  Login Login

Line break

 Post Reply Post Reply
Author
Message
hole19 View Drop Down
Beginner
Beginner


Joined: 22 May 14
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote hole19 Quote  Post ReplyReply Direct Link To This Post Topic: Line break
    Posted: 22 May 14 at 12:44PM
I want to create two or more lines with a unique DrawWrappedText to show

text line1
text line2

 my code: Call QP.DrawWrappedText(30, 68, 550, "text line1" & Chr(9) & Chr(10) & "text line 2")

What am I doing wrong?

Thanks


Back to Top
hole19 View Drop Down
Beginner
Beginner


Joined: 22 May 14
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote hole19 Quote  Post ReplyReply Direct Link To This Post Posted: 22 May 14 at 1:06PM
Easy:

Call QP.DrawWrappedText(30, 68, 550, "text line1" & vbCrlf & "text line 2")
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 22 May 14 at 2:13PM
or ... & Chr(10) & Chr(13) & ...
Chr(9) means "tab" and Chr(10) means "eol" (end of line).
Chr(13) means Carriage return for the new line...
 
Cheers and welcome here,
Ingo
 
Cheers,
Ingo

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store