[]
        
(Showing Draft Content)

PermissionOptions

DsPdfJS API v9.1.0


DsPdfJS API / PermissionOptions

Type Alias: PermissionOptions

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.

Properties

copyContent?

optional copyContent: boolean

Gets or sets a value indicating whether a document's content can be copied or extracted. The default value: false.


editingPermissions?

optional editingPermissions: EditingPermissions

Gets or sets a value controlling how a document can be edited. The default value: EditingPermissions.Disabled.


ownerPassword

ownerPassword: string

Gets or sets the password required to change permissions of a PDF document.


printingPermissions?

optional printingPermissions: PrintingPermissions

Gets or sets a value controlling how a document can be printed. The default value: PrintingPermissions.Disabled.