Hi,
I created a document then I imported document page using
ImportedPage PDFPage = new ImportedPage(Filepath, 1);
then i added ladels, images to that and added the page to the document.
The result output shows only the first page in the PDF. I am not getting all the pages in the PDF document
showing single page
Re: showing single page
Support · Aug 26, 2009Hello,
The ImportedPage is used to import a specific page to another document object and not to import whole document at a time. If you want all the pages from the source document then it is better to merge the document and then add the new content to it. You can do this using the MergeDocument object.
MergeDocument document = new MergeDocument( filepath );
If you want to use the ImportedPage only as per your requirement then you will need to import all the pages individually and add them to the document object. ImportedPage constructor takes the page number as a parameter.
Thanks,
ceTe Software Support Team.