Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to count pages in PDF file using VC++

How to count pages in PDF file using VC++

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++visual-studiohelptutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shanmugarajaa
    wrote on last edited by
    #1

    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

    L J 2 Replies Last reply
    0
    • S shanmugarajaa

      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

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • S shanmugarajaa

        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

        J Offline
        J Offline
        Jijo Raj
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups