| ImageEn, unit iexUserInteractions |
|
TIEPdfPermissions
TIEPdfPermissions
Declaration
TIEPdfPermissions = set of (ieppPrint, // Print (low quality)
ieppModify, // Modify contents
ieppCopy, // Copy / extract text
ieppAnnotForm, // Add/modify annotations and fill forms
ieppFillForms, // Fill form fields
ieppExtract, // Extract for accessibility
ieppAssemble, // Assemble document
ieppPrintHigh); // Print high quality
Description
The security permissions that are permitted for a PDF document.
| Permission | Description |
| ieppPrint | Document can be printed (low quality) |
| ieppModify | Document contents can be modified |
| ieppCopy | Text and images can be copied or extracted |
| ieppAnnotForm | Annotations and form fields can be added or modified |
| ieppFillForms | Form fields can be filled in |
| ieppExtract | Text and images can be extracted for accessibility |
| ieppAssemble | Document can be assembled (insert, rotate or delete pages) |
| ieppPrintHigh | Document can be printed at high quality |
Examples
// Check if printing and copying are allowed
if ieppPrint in IEPdfViewer1.DocumentPermissions then
ShowMessage( 'Printing is allowed' )
else
ShowMessage( 'Printing is blocked' );
if ieppCopy in IEPdfViewer1.DocumentPermissions then
ShowMessage( 'Copying is allowed' )
else
ShowMessage( 'Copying is blocked' );
See Also
◼DocumentPermissions