ImageEn, unit iexUserInteractions

TIEPdfViewerInteraction.ClearSelection

TIEPdfViewerInteraction.ClearSelection


Declaration

procedure ClearSelection();


Description

Deselects any selected text on the current page.


Examples

ImageEnView1.PdfViewer.ClearSelection();

// Save all text in the page to a file
ss := TStringList.Create;
ImageEnView1.LockPaint();
ImageEnView1.PdfViewer.SelectAll();
ss.Text := ImageEnView1.PdfViewer.SelText;
ImageEnView1.PdfViewer.ClearSelection();
ImageEnView1.UnlockPaint();
ss.SaveToFile( 'D:\Page.txt' );
ss.Free;


See Also

- SelectText
- SelectAll
- SelectLine
- SelectWord
- SelLength
- SelStart
- SelText