ImageEn, unit iexUserInteractions |
|
TIEPdfViewer.SyncToBitmap
Declaration
procedure SyncToBitmap();
Description
Outputs the current page to
IEBitmap.
By default, PdfViewer only renders the PDF document on demand, so
IEBitmap will be blank and cannot be saved as an image, copied to the clipboard, etc.
Note:
◼You can enable
AutoSync to automatically call
SyncToBitmap as needed
◼The size of the PDF page as displayed on-screen and when output to bitmap is controlled by
IEGlobalSettings().PdfViewerDefaults.DPI// Copy PDF page to clipboard as an image
ImageEnView1.PdfViewer.SyncToBitmap := True;
ImageEnView1.Proc.CopyToClipboard( iecpFullImage );
See Also
◼AutoSync