Get PDF page count

Get PDF page count

Forum member · Jul 15, 2010
Hi, Hi, We are currently using Dynamic PDF Converter for our development. Could you please tell me is there are any way get page count of pdf using any CETE software. Greately appreciate if you could reply as soon as possible. Thanks, Regards,

Re: Get PDF page count

Support · Jul 15, 2010
Hello, It is not possible to get the page count of the PDF document using our DynamicPDF Converter product. You can only convert other file types to PDF format and save it to the disk or output it to a byte array. You can then use our DynamicPDF Merger for .NET product to get the page count of PDF document. Below is the sample code. MergeDocument doc = new MergeDocument(@"PDF file path"); int pageCount = doc.Pages.Count; Please feel free to download the evaluation version of our DynamicPDF Merger for .NET product from our website. Thanks, ceTe Software Support Team