Sets the user permissions in the PDF document.
Code Block |
---|
XFRX#INIT::Object.setPermissions(tlPrintDocument, tlModifyDocument, tlCopyTextAndGraphics, tlAddOrModifyAnnotations [, tlFillFormFields [, tlExtractTextAndGraphics [, tlAssembleDocument [, tlPrintDocumentInLow]]]] ) |
Parameters
tlPrintDocument
User can print document. Default value is .F.
...
User can print document in low resolution. Default value is .T.
Remarks
Applies To: XFRX#INIT, XFRX#LISTENER, PDFL#INIT, oXFRX
XFRX version: 24.0 for oXFRX
Info |
---|
Parameters tlFillFormFields, tlExtractTextAndGraphics, tlAssembleDocument, tlPrintDocumentInLow are since XFRX 16.1. |
Examples
Code Block |
---|
LOCAL m.lnErr m.loXFRX=EVALUATE([xfrx("XFRX#INIT")]) m.lnErr=m.loXFRX.SetParams(,,,,.T.,,"PDF") m.loXFRX.setPasswords("owner") m.loXFRX.setPermissions(.T.,.F.,.F.,.F.,.F.,.F.,.F.,.F.) IF m.lnErr<>0 ?m.loXFRX.ErrorMessage(m.lnErr) ELSE ENDIF |
...