PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Mar 29, 2024 12:32 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat Jan 19, 2013 9:34 am 
Offline

Joined: Sat Jan 19, 2013 9:26 am
Posts: 1
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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 152 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group