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

TdxPDFViewerSelection Class

Implements the selection operation in a PDF document.

#Declaration

Delphi
TdxPDFViewerSelection = class(
    TObject
)

#Remarks

This class provides methods that allow you to:

  • Select a text or image within a specific area (Select);

  • Select a specific text range within the document (SelectText);

  • Select all the text in the available pages of the loaded PDF document (SelectAll);

  • Identify if the content selection is empty (IsEmpty);

  • Copy the content selection to the clipboard (CopyToClipboard);

  • Clear the content selection (Clear);

  • Obtain a text or image from the current document selection (AsText and AsBitmap).

The PDF Viewer control’s Selection property references a TdxPDFViewerSelection object.

#Inheritance

TObject
TdxPDFViewerSelection
See Also