blank page not added in pdf using itextsharp

Posted by Shailesh21235 under C# on 12/13/2013 | Points: 10 | Views : 4565 | Status : [Member] | Replies : 1
hello everybody,
i have a windows form which needed to be printed, and i have a pdf format in which datas are filled but i need to add a blank page between two pages. its kind of creating a big problem.
thanks in advance




Responses

Posted by: Sheonarayan on: 12/15/2013 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Hi Shailesh,

There is a method called .NewPage() in the document object, you may use that method to create a new page.

Read some example here
http://stackoverflow.com/questions/11307749/creating-multiple-page-pdf-using-itextsharp
http://stackoverflow.com/questions/2511782/how-to-add-a-blank-page-to-a-pdf-using-itextsharp.

Hope this helps.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Shailesh21235, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response