ImageEn, unit iexUserInteractions |
|
TIEPdfViewer.SelectText
Declaration
procedure SelectText(CharIndex, CharCount: 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.
Note:
◼ 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