Versions Compared

Key

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

Specifies whether pdf reader read all pdf ojects or only base pdf objects.

Code Block
PDFReaderObject.lReadObjectData=lExpr

Return Value

lExpr Boolean
The settings for the Closable 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.

Remarks

Applies To: PDF#READER

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.pdfreaderloPDFR.cCursorName)
BROWSE NORMAL
  
m.loPDFR.closeDocument()