PDFDocument unable to read complete pdf document

PDFDocument unable to read complete pdf document

Forum member · Jun 20, 2011
Hi, Below code, reads only one page from the pdf document even though pdf contains more than 1 page. This issue is some pdf specific. Please let me know, if there are know cases when this can happen or work-arounds to read complete pdf documet. PdfDocument pdfDocument = new PdfDocument(@"33.pdf");

Re: PDFDocument unable to read complete pdf document

Support · Jun 20, 2011
Hello, Can you please send over the input PDF document using which you are getting this behavior to our support team at: [^a|mailto:support@cete.com|opennewiwndow|support@cete.com^]? Also send over more details about your requirements and what you are trying to achieve using our DynamicPDF products so that our support team can look into it further. Thanks, ceTe Software Support Team.

Re: PDFDocument unable to read complete pdf document

Support · Jun 21, 2011
Hello, We did some testing on our end by merging the PDF document and we are able to get all the pages preserved in the final PDF document. Please find the below code which we have used for our testing. Also use the latest available build by logging into the customer area using the product serial number. MergeDocument document = new MergeDocument(); PdfDocument pdf = new PdfDocument(@"C:\temp\SUBMITTAL 33.pdf"); int pagecount = pdf.Pages.Count; document.Append(pdf); document.Draw(@"C:\MyDocument.pdf"); Thanks, ceTe Software Support Team.