We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How to create a Multipage PDF document when you dont know the total pages?

Well, I am interested to know how can I do an specific task. I need to create a PDF document, but is uncertain the total number pages of this PDF document, and I dont know the best form to create a PDF with unknown Pages, for example, now I can add a page to a PDF document but I take the control of this. I dont know if exists a form to create just one PDF document and finally the document will separate by page automatically. 

1 Reply

KC Karthikeyan Chandrasekar Syncfusion Team August 5, 2013 04:13 AM UTC

Hi Gilberto,

Thank you for your interest in Syncfusion Products.

 

We can able to add any number of pages to the Pdf document.

Please use the below code snippet:

PdfDocument.Pages.Add();

 

You can also split a Pdf Document into two Pdf documents.

Please refer the below sample.

http://asp.syncfusion.com/Windows/demos/reporting/pdf/Modify%20Documents/Split%20Document/Sample.aspx

 

Please let us know if you have any concern.

 

Thanks,

Karthikeyan.C

 


Loader.
Live Chat Icon For mobile
Up arrow icon