TdxPDFDocument.AllowContentExtraction Property
Identifies if users can select and copy the loaded PDF document’s content.
Declaration
property AllowContentExtraction: Boolean read;
Property Value
| Type | Description |
|---|---|
| Boolean |
|
Remarks
The AllowContentExtraction property returns False if an encrypted document is loaded with a user password and has no content extract permission (that is, the pdpAllowExtractContent flag is not set in the SecurityOptions.Permissions property). Otherwise, the property returns True.
The following end-user commands are not available in a PDF Viewer control if the AllowContentExtraction property returns False:
- The Copy and Copy Text items in the control’s context menu.
- The Ctrl+C key combination.
Note
The PageInfo property returns only page dimensions if the select and copy operations are not allowed. Refer to the following topic for detailed information on PDF document security settings: Password Protection