Hi Team,
We are using dynamic pdf core suite license for dot not to generate pdf's. We have a requirement that we have to create pdf's dynamically. If the printed data overflows on the first page then we should print it on the second page. Is there a way to print the data on pdf dynamically without creating another page instance manually on the same document.
Print overflow data on next page dynamically
Re: Print overflow data on next page dynamically
Support · May 5, 2022Hi,
If you are looking to add the contents to an existing PDF page, then you can access the required page using index and add the contents to it and then handle adding overflow contents to desired page dynamically. Please refer to the documentation on text continuation here
.
The example in the above help topic includes code sample for creating a page from scratch for adding data and overflow contents but you can merge a PDF and access required page instead of creating a new page object. Please refer to the documentation on adding new contents to existing PDF here
.
Thanks,
ceTe Software Support Team
Re: Print overflow data on next page dynamically
Forum member · May 5, 2022Thank you for your reply.
We have created new table on a page with 11 columns and filled all the rows with data. All the data is not going to fit on the same page. We need to print the left over data on the next page with same table definition. Does dynamic pdf has any way to create another page with same table definition with out creating new page and table instances manually ?
Re: Print overflow data on next page dynamically
Support · May 6, 2022Hi,
Yes, you handle table overflow dynamically. You will need to completely build the table and then add it to the PDF in a loop. Please refer to the documentation on table continuation here
Thanks,
ceTe Software Support Team
Re: Print overflow data on next page dynamically
Forum member · May 6, 2022Thank you. It helped a lot.