PDF Plugin for Xojo |

# PDFDocument.SetPermission Method (console safe)

Sets the permission flags for the document.

SetPermission(
permission as Integer)

#### Parameters

permission
  One or more of the following constant "ored" together with BitwiseOr:
  PDFDocument.PERMISSION_READ
  PDFDocument.PERMISSION_PRINT
  PDFDocument.PERMISSION_EDIT_ALL
  PDFDocument.PERMISSION_COPY
  PDFDocument.PERMISSION_EDIT

#### Remarks

#### See Also

PDFDocument Class