ImageEn, unit iexUserInteractions

TIEPdfViewer.SelectAll

TIEPdfViewer.SelectAll


Declaration

procedure SelectAll();


Description

Selects all text in the active form field or page.
If the cursor is inside a form field, all text of the field will be highlighted.
Otherwise all text on the page will be selected.


Examples

ImageEnView1.PdfViewer.SelectAll();

// 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

 ClearSelection
 SelectText
 SelectLine
 SelectWord
 SelLength
 SelStart
 SelText