[]
type PermissionOptions = object;
Defines the document permission options. If the document is opened using EncryptOptions.userPassword, these permissions will be enforced, preventing the user from performing actions restricted by the specified options.
optional copyContent?: boolean;
Gets or sets a value indicating whether a document's content can be copied or extracted. The default value: false.
optional editingPermissions?: EditingPermissions;
Gets or sets a value controlling how a document can be edited. The default value: EditingPermissions.Disabled.
ownerPassword: string;
Gets or sets the password required to change permissions of a PDF document.
optional printingPermissions?: PrintingPermissions;
Gets or sets a value controlling how a document can be printed. The default value: PrintingPermissions.Disabled.