Two Pilots™    Home  |  Navigation  |  Site Map  |  Products  |  Download  |  Prices  |  For Partners  |  Support


All forums · Statistics · Search ·

Two Pilots forum / For software developers / how can i word wrap in PDFPAGE_TextOutBox
Author Message
Paritosh
Member
# Posted: 15 Nov 2005 11:40


I am displayign text with the help of PDFPAGE_TextOutBox but the problem is text is not wrapped (proper aligned) at the right side.
Please tell me how an i do this.[b][/b]

Stanislav
# Posted: 15 Nov 2005 12:00


Dear Paritosh,

PDFPAGE_TextOutBox is used to display text string wrapped in the box

PDF.BeginDoc()

St = "I am displayign text with the help of PDFPAGE_TextOutBox but the problem is text is not wrapped (proper aligned) at the right side."

PDF.PDFPAGE_BeginText

PDF.PDFPAGE_TextOutBox 100, 100, 10, 100, 30, St

PDF.PDFPAGE_EndText

PDF.EndDoc()

To display text with alignment, you should use PDFPAGE_TextBox instead.

Thank you very much !

Best regards,
Stanislav
Two Pilots

 

 

Powered by miniBB 2.0 RC7 © 2001-2004 Page creation time (sec.): 0.013

 

Page top