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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:





110316 Jul 29,2013 11:27 PM UTC Aug 5,2013 04:13 AM UTC WPF 1
Tags: PDF
Gilberto Jimenez Ricardez
Asked On July 29, 2013 11:27 PM UTC

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. 

KarthikeyanC [Syncfusion]
Replied On 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:



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

Please refer the below sample.



Please let us know if you have any concern.






This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon