Hi Andries,

Here's a link to Code and a DLL.
http://www.angusj.com/delphitips/pdfpagecount.php

Cheers,
Charlie Chambers


  ----- Original Message ----- 
  From: Andries Bos 
  To: delphi advanced group 
  Sent: Monday, January 18, 2010 2:19 PM
  Subject: [delphi-en] counting PDF pages


    


  I woudl like to count pages in PDF files in one directory. At this moment I'm 
playing with the ocx TAcroPDF to display a pdf file, but although there are 
some methods to print pages 'from' and 'to' , I could not find the property 
/way to retrieve the amount of pages within the selected pdf file. 

  any ideas? Th cusromer uses the full version 'Acrobat version 9' , but I use 
within my develment only the reader. Is this enough to retrieve this 
information. Also a better way is to read pdf files without a visible control. 
Because I only want to read the amount of pages, there is no nead for diplaying 
the files. 

  regards

  Andries

  ________________________________

  Slide scanning / dia's scannen
  vanaf / from
  E0,08c
  www.scancare.nl 

  ________________________________

  [Non-text portions of this message have been removed]



  

[Non-text portions of this message have been removed]

Reply via email to