PDFsharp & MigraDoc Foundation http://forum.pdfsharp.com/ |
|
Reading PageCount only form large PDFs http://forum.pdfsharp.com/viewtopic.php?f=2&t=2303 |
Page 1 of 1 |
Author: | Ferdi [ Sat Jan 19, 2013 9:34 am ] |
Post subject: | Reading PageCount only form large PDFs |
Hello, I have a project where I have to read the PageCount from large PDF files (>2500 pages). I can load the files with the .Information type open mode but still opening takes quite some time - I assume because there is still a lot read from the file. My questions are: 1) Is this way of opening the most effective way: PdfDocument outputDocument = PdfReader.Open(FilePath, PdfDocumentOpenMode.Information); 2) Can you give me a hint of how I could read the PageCount in a faster way, since I only need that specific information. Thank you. Ferdi |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |