Wrap text across pages

Wrap text across pages

Forum member · Nov 3, 2011
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?

Re: Wrap text across pages

Support · Nov 3, 2011
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.

Re: Wrap text across pages

Forum member · Nov 3, 2011
Tried that before the post but could not get it to work but I just figured out why. Now I am working! Yeah! Thanks,