Skip to main content

TdxPDFViewerSelection.SelectText(TdxPDFPageTextRange,Boolean) Method

Selects the specified text range in a document displayed by the PDF Viewer.

Declaration

procedure SelectText(const ARange: TdxPDFPageTextRange; AMakeVisible: Boolean = True); overload;

Parameters

Name Type
ARange TdxPDFPageTextRange
AMakeVisible Boolean

Remarks

Call this procedure to select a text range passed as the ARange parameter. You can pass False as the AMakeVisible optional parameter to avoid scrolling the document to display the selected text.

Note

If the specified text range is invalid, calling the SelectText procedure has no effect.

See Also