Specifies whether pdf reader read all pdf ojects or only base pdf objects.
Code Block |
---|
PDFReaderObject.lReadObjectData=lExpr |
Return Value
Boolean
lExpr The settings for the Closable a 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. |
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.loPDFR.cCursorName) BROWSE NORMAL m.loPDFR.closeDocument() |