ImageEn, unit iexUserInteractions

TIEPdfViewer.CopyToClipboard

TIEPdfViewer.CopyToClipboard


Declaration

function CopyToClipboard(): Boolean;


Description

Copy the current text or form selection to the clipboard.
Or if object editing is enabled, it will copy the selected object to the clipboard.


Demo

Demo  Demos\PDF\PDFViewer\PdfViewer.dpr


Examples

ImageEnView1.PdfViewer.CopyToClipboard();



Output
Secretariat ISO/TC42
Photographic and Imaging
Manufacturers Association, Inc


// Copy all text in the page to the clipboard
ImageEnView1.PdfViewer.SelectAll();
ImageEnView1.PdfViewer.CopyToClipboard();


See Also

CanCutToClipboard
CanCopyToClipboard
CanPasteFromClipboard
CutToClipboard
PasteFromClipboard