Wrap text across pages

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Generator for COM/ActiveX (v5)  /  Re: Wrap text across pages

DynamicPDF Generator for COM/ActiveX (v5) Forum

 Nov 03 2011 10:39 AM
I have boiler plate text stored in a sql table in multiple columns that I place in a PDF file. Basically at present I read the text and determine its height and if its height is greater than the remaining page height I start a new page (Set objPage = objDoc.AddPage()) and some text is required to be on its own page so when I hit those sections I do another AddPage(). This text is usually just one or two small paragraphs. However one of them just got expanded to just over one full page and of course runs off the bottom of the page.

How can I wrap this text across pages if the height is greater than the page height?
 Nov 03 2011 11:39 AM
Posted by a ceTe Software moderator
Hello,

You can add the text using the TextArea page element and you can take care of the overflow text without any problem. You can use the GetOverflowTextArea method of the text area object and you can add this overflow text to another page. You can refer to the text continuation example of our help documentation.

Thanks,
ceTe Software Support Team.
 Nov 03 2011 12:20 PM
Tried that before the post but could not get it to work but I just figured out why. Now I am working! Yeah!

Thanks,

All times are US Eastern Standard time. The time now is 6:34 AM.