ImageEn, unit iexUserInteractions |
|
TIEPdfViewerInteraction.SelectText
Declaration
procedure SelectText(CharIndex, Count: Integer; DoScroll: Boolean = False);
Description
Selects text within the current page.
If
DoScroll is enabled the view is scrolled to ensure the selection is visible.

Notes:
- CharIndex is zero based
- To convert a screen position to a CharIndex, use
ScrToCharIndex- Specify the color and other properties of text selection using
PdfViewerDefaultsExample
ImageEnView1.PdfViewer.SelectText( 100, 10 );
See Also
-
ClearSelection-
SelectAll-
SelectLine-
SelectWord-
SelLength-
SelStart-
SelText