Skip to main content

TdxPDFViewerSelection Class

Implements the selection operation in a PDF document.

Declaration

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