Specifies whether pdrreader read all pdf ojects or only base pdf objects.
PDFReader.lReadObjectData=lExpr
Return Value
lExpr The settings for the Closable property are:
Setting | Description |
---|---|
True (T.) | PDF reader all pdf objects. |
False (.F.) | Default. PDF reader read only basic pdf objects such as Catalog, Pages, and Encrypt. |
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.loPDFR.lReadObjectData=.T. m.lnError=m.loPDFR.ReadDocument() SELE (m.pdfreader.cCursorName) BROWSE NORMAL m.loPDFR.closeDocument()