Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

lExpr
The settings for the a property are:

SettingDescription
True (T.)PDF reader all pdf objects.
False (.F.)Default. PDF reader read only basic pdf objects such as Catalog, Pages, and Encrypt.

Examples

Code Block
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.loPDFR.lReadObjectData=.T.
m.lnError=m.loPDFR.ReadDocument()
 
SELE (m.loPDFR.cCursorName)
BROWSE NORMAL
  
m.loPDFR.closeDocument()