Back to Devexpress

TdxPDFViewerSelection.SelectText(TdxPDFPageTextRange,Boolean) Method

vcl-dxpdfviewer-dot-tdxpdfviewerselection-dot-selecttext-x28-dxpdftext-dot-tdxpdfpagetextrange-system-dot-boolean-x29.md

latest1.3 KB
Original Source

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

NameType
ARangeTdxPDFPageTextRange
AMakeVisibleBoolean

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

TdxPDFViewerSelection.Select

TdxPDFViewerSelection.SelectAll

TdxPDFViewerSelection Class

TdxPDFViewerSelection Members

dxPDFViewer Unit