ImageEn, unit iexUserInteractions




property AutoSync: Boolean;


Specifies whether IEBitmap contains a view of the current page.
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.
Set AutoSync to true to ensure IEBitmap is always a valid representation of the displayed page. It will slighly downgrade performance.

- To manually synchronize the page to IEBitmap, call SyncToBitmap.
- AutoSync will occur automatically if MouseInteractGeneral allows selection, i.e. miPdfSelectRgn, miSelect, miSelectPolygon, miSelectCircle, miSelectMagicWand, miSelectLasso, miSelectChromaKey
- The size of the PDF page as displayed on-screen and when output to bitmap is controlled by IEGlobalSettings().PdfViewerDefaults.DPI

Default: False


// Allow user to select a circular area of page and copy to clipboard (as an image)
ImageEnView1.PdfViewer.AutoSync := True;
ImageEnView1.MouseInteractGeneral := [ miSelectCircle ];

See Also

- SyncToBitmap