Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Page count in PDF file.


PDFReader.iPagesCnt=iExpr


Examples

m.loPDFR = EVALUATE([xfrx("PDF#READER")])
*m.loPDFR.SetPasswords("owner","user") && set password for pdf file
m.lcFile="BASE-UNI.pdf"
IF m.loPDFR.openDocument(m.lcFile) < 0
   RETURN
ENDIF

m.lnError=m.loPDFR.ReadDocument()
 
?m.loPDFR.iPagesCnt

  
m.loPDFR.closeDocument()
 
  • No labels