ImageEn, unit iexUserInteractions

TIEPdfViewerInteraction.SelectWord

TIEPdfViewerInteraction.SelectWord


Declaration

function SelectWord(CharIndex: Integer; DoScroll: Boolean = False): Boolean;


Description

Selects a word 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


Example

ImageEnView1.PdfViewer.SelectWord( 100 );


See Also

- ClearSelection
- SelectText
- SelectAll
- SelectLine
- SelLength
- SelStart
- SelText