public @property void permission(Permission permission)

Set the permission flags for the document

Parameters

  • One or more of the following, "ored" together:

  • HPDFENABLEREAD = user can read the document
  • HPDFENABLEPRINT = user can print the document
  • HPDFENABLEEDIT = user can edit the contents of the document other than annotations, form fields
  • HPDFENABLECOPY = user can copy the text and the graphics of the document
  • HPDFENABLEEDIT_ALL = user can add or modify the annotations and form fields of the document