PermissionsSettings

PermissionsSettings

This class provides information about the permission settings of the specified PDF file, such as restricting print permissions, edit permissions etc.

Methods

hasAssistiveTechnology() → {boolean}

Description:
  • Returns a boolean specifying whether the specified PDF file will be supported by a screen reader.

Returns:

True if the specified PDF file will be supported by a screen reader. False otherwise.

Type
boolean

isCommentingAllowed() → {boolean}

Description:
  • Returns a boolean specifying whether adding comments in the specified PDF file is permitted.

Returns:

True if adding comments in the specified PDF file is permitted. False otherwise.

Type
boolean

isCopyingAllowed() → {boolean}

Description:
  • Returns a boolean specifying whether copying the content of the specified PDF file is permitted.

Returns:

True if copying the content of the specified PDF file is permitted. False otherwise.

Type
boolean

isDocumentAssemblyAllowed() → {boolean}

Description:
  • Returns a boolean specifying whether adding or inserting pages in the specified PDF file is permitted.

Returns:

True if adding or inserting pages in the specified PDF file is permitted. False otherwise.

Type
boolean

isEditingAllowed() → {boolean}

Description:
  • Returns a boolean specifying whether editing the content in the specified PDF file is permitted.

Returns:

True if editing the content in the specified PDF file is permitted. False otherwise.

Type
boolean

isFormFillingAllowed() → {boolean}

Description:
  • Returns a boolean specifying whether form filling is permitted in the specified PDF file.

Returns:

True if form filling is permitted in the specified PDF file. False otherwise.

Type
boolean

isPageExtractionAllowed() → {boolean}

Description:
  • Returns a boolean specifying whether extracting pages of the specified PDF file is permitted.

Returns:

True if extracting pages of the specified PDF file is permitted. False otherwise.

Type
boolean

printingPermissionLevel() → {string}

Description:
  • Returns a string specifying permission level for printing the file.

Returns:

The permission level for printing the file.

Type
string