# PermissionOptions

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / PermissionOptions

# Type Alias: PermissionOptions

> **PermissionOptions** = `object`

Defines the document permission options.
If the document is opened using [EncryptOptions.userPassword](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`](../enumerations/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`](../enumerations/PrintingPermissions)

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