PdfPermissions

data class PdfPermissions(val annotationAndFormFieldModificationAllowed: Boolean, val assemblyAllowed: Boolean, val contentExtractionAllowed: Boolean, val contentExtractionForAccessibilityAllowed: Boolean, val contentModificationAllowed: Boolean, val formFieldFillingAllowed: Boolean, val printQuality: PdfPermissions.PrintQuality)

Permissions that apply to the user if the PDF is encrypted.

Constructors

Link copied to clipboard
constructor(annotationAndFormFieldModificationAllowed: Boolean, assemblyAllowed: Boolean, contentExtractionAllowed: Boolean, contentExtractionForAccessibilityAllowed: Boolean, contentModificationAllowed: Boolean, formFieldFillingAllowed: Boolean, printQuality: PdfPermissions.PrintQuality)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Properties

Allows modifying annotations, filling in form fields, and (if contentModificationAllowed is also true) modifying form fields.

Link copied to clipboard

Allows assembling the document (insert, rotate, or delete pages and create bookmarks or thumbnail images).

Link copied to clipboard

Allows extracting content for anything except accessibility purposes.

Link copied to clipboard

Allows extracting content for accessibility purposes.

Link copied to clipboard

Allows modifying content except modifying annotations, modifying form fields, and assembling the document (insert, rotate, or delete pages and create bookmarks or thumbnail images).

Link copied to clipboard

Allows filling in form fields, even if annotationAndFormFieldModificationAllowed is false.

Link copied to clipboard

Allows printing the document.