ImageEn, unit iexUserInteractions

TIEPdfViewerInteraction.SelectLine

TIEPdfViewerInteraction.SelectLine


Declaration

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


Description

Selects a line 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.SelectLine( 100 );


See Also

- ClearSelection
- SelectText
- SelectAll
- SelectWord
- SelLength
- SelStart
- SelText