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.SelectText(TdxPDFPageTextRange,Boolean) Method

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

#Declaration

Delphi
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