Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Sets the user permissions in the PDF document.

...

Applies To: XFRX#INIT, XFRX#LISTENERPDFL#INIT

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

...