Specifies whether pdrreader pdf reader read all pdf ojects or only base pdf objects.
...
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
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.pdfreader.cCursorName) BROWSE NORMAL m.loPDFR.closeDocument() |