Print Page | Close Window

Line break

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2905
Printed Date: 28 Jun 25 at 1:40PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Line break
Posted By: hole19
Subject: Line break
Date 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





Replies:
Posted By: hole19
Date Posted: 22 May 14 at 1:06PM
Easy:

Call QP.DrawWrappedText(30, 68, 550, "text line1" & vbCrlf & "text line 2")


Posted By: Ingo
Date 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




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk