TdxPDFDocumentPermission Enum
Enumerates user access permission flags in encrypted PDF documents.
Declaration
TdxPDFDocumentPermission = (
pdpAllowPrint,
pdpAllowPrintHighResolution,
pdpAllowCopyContent,
pdpAllowEditContent,
pdpAllowExtractContent,
pdpAllowAddOrModifyTextAnnotations,
pdpAllowFillFields,
pdpAllowAssembleDocument
);
Members
Name |
---|
pdpAllowPrint
|
pdpAllowPrintHighResolution
|
pdpAllowCopyContent
|
pdpAllowEditContent
|
pdpAllowExtractContent
|
pdpAllowAddOrModifyTextAnnotations
|
pdpAllowFillFields
|
pdpAllowAssembleDocument
|
Remarks
Options include all user access permission flags defined in the Portable document format – PDF 1.7 standard (ISO 32000-1:2008):
Value | Description |
---|---|
pdpAllowPrint | A user can print a PDF document. If this flag is present, a PDF document container’s AllowPrinting property returns True; otherwise, False. |
pdpAllowPrintHighResolution | This flag allows a user to print the document in high quality. If this flag is not set but the dpdAllowPrint flag is present, print quality is significantly reduced. Note If the document is encrypted with the 40-bit RC4 algorithm, a consumer application treats the pdpAllowPrintHighResolution flag as the pdpAllowPrint flag. |
pdpAllowCopyContent | A user can copy any text or graphics in the document. |
pdpAllowEditContent | A user can edit content, except for text annotations, interactive forms, and the document structure. |
pdpAllowExtractContent | A user can extract text and graphics in support for accessibility features (such as screen narrators, etc.) If this flag is present, a PDF document container’s AllowContentExtraction property returns True; otherwise, False. Note If the document is encrypted with the 40-bit RC4 algorithm, a consumer application treats the pdpAllowExtractContent flag as the pdpAllowCopyContent flag. |
pdpAllowAddOrModifyTextAnnotations | A user can add or edit text annotations, fill in interactive form fields. If the pdpAllowEditContent flag is also present, a user can create new or edit existing form fields (including signature fields). |
pdpAllowFillFields | A user can fill in interactive form fields (including signature fields), even if the pdpAllowAddOrModifyTextAnnotations flag is absent. Note If the document is encrypted with the 40-bit RC4 algorithm, a consumer application treats the pdpAllowFillFields flag as the pdpAllowAddOrModifyTextAnnotations flag. |
pdpAllowAssembleDocument | A user can change the document structure (that is, insert, rotate, or delete pages and create bookmarks or thumbnail images), even if the pdpAllowEditContent flag is omitted. Note If the document is encrypted with the 40-bit RC4 algorithm, a consumer application treats the pdpAllowAssembleDocument flag as the pdpAllowEditContent flag. |
The TdxPDFDocumentPermissions type references the TdxPDFDocumentPermission type.