How to count pages in PDF file using VC++
-
Dear Friends, I have 11thousand PDF file and I need to take a log of number page in each PDF document and I decided to make tool to read the number pages in each PDF document. Anyone can help me. I have VC6 and visual studio 2008. Thanks and Regards, S.Shanmga Raja
-
Dear Friends, I have 11thousand PDF file and I need to take a log of number page in each PDF document and I decided to make tool to read the number pages in each PDF document. Anyone can help me. I have VC6 and visual studio 2008. Thanks and Regards, S.Shanmga Raja
You need to get hold of one of the PDF libraries available on the internet, or use the documentation available on the Adobe website to write your own. You can then read your PDF files and get information about the content.
One of these days I'm going to think of a really clever signature.
-
Dear Friends, I have 11thousand PDF file and I need to take a log of number page in each PDF document and I decided to make tool to read the number pages in each PDF document. Anyone can help me. I have VC6 and visual studio 2008. Thanks and Regards, S.Shanmga Raja
Hi Shanmuga, As Richard suggested, you've to use some thirdparty PDF SDK/library to get the pdf page count. One option would be - QuickPDF Library[^] which is a absolutly free. You can use the api - DPLPageCount()[^] to get the page count. Have a look at their samples(well documented) about how to initialize the library and use it. Hope this helps. Best Regards, Jijo.
_____________________________________________________ http://weseetips.com[^] Visual C++ tips and tricks.