Sets the user permissions in the PDF document.
Code Block |
---|
XFRX#INIT::setPermissions(tlPrintDocument, tlModifyDocument, tlCopyTextAndGraphics, tlAddOrModifyAnnotations [, tlFillFormFields [, tlExtractTextAndGraphics [, tlAssembleDocument [, tlPrintDocumentInLow]]]] ) XFRX#LISTENER::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
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 |
...