ImageEn, unit iexUserInteractions

TIEPdfViewerInteraction.SelectText

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 PdfViewerDefaults


Example

ImageEnView1.PdfViewer.SelectText( 100, 10 );


See Also

- ClearSelection
- SelectAll
- SelectLine
- SelectWord
- SelLength
- SelStart
- SelText