ImageEn, unit iexUserInteractions

TIEPdfViewer.SelectWord

TIEPdfViewer.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.

Note:
 CharIndex is zero based
 Specify the color and other properties of text selection using PdfViewerDefaults
 To convert a screen position to a CharIndex, use ScrToCharIndex


Example

ImageEnView1.PdfViewer.SelectWord( 100 );


See Also

 ClearSelection
 SelectText
 SelectAll
 SelectLine
 SelLength
 SelStart
 SelText