Click here to Skip to main content
15,891,884 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
dear friends,

i am developing window application to process pdf files for digitization..In my application Pdf viewed using pdf reader control.i want to retrieve the version of pdf, page count of pdf,whether the pdf is image pdf or text pdf,tagged pdf value..how to get those values using PdfBox dll?


i have tried with itextsharp dll(please refer the previous thread). But i can't find all those values.i can able to find version only.is it possible through PdfBox Dll?


Your solutions are more valuable to me..kindly let me know your thoughts and ideas

Thanks in advance.
Posted
Comments
Prasad Khandekar 22-Apr-13 10:59am    
Please have a look at Java Example http://pdfbox.apache.org/userguide/metadata.html. Similar call should be present in the .NET Assembly.
jai_mca 22-Apr-13 23:41pm    
Thanks prasad..i will try.plz suggest a vb.net idea if possible..

1 solution

Hi Jai,

I just googled it for you and found this

To determine number of pages :
C#
PDDocument doc = PDDocument.load(new File("file.pdf"));
int count = doc.getNumberOfPages();


BR,
VG
 
Share this answer
 
Comments
jai_mca 22-Apr-13 23:43pm    
Thanks VG..
The other three category is very important need to me.that is Tagged pdf value,image or text pdf,pdf version..

Can you plz suggest a solution for that?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900