Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxPDFDocument.AllowContentExtraction Property

Identifies if users can select and copy the loaded PDF document’s content.

#Declaration

Delphi
property AllowContentExtraction: Boolean read;

#Property Value

Type Description
Boolean

True if users can select and copy PDF document content; otherwise, False.

#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

See Also