Back to Devexpress

TdxPDFCustomViewer.OnPrepareLockedStateImage Event

vcl-dxpdfviewer-dot-tdxpdfcustomviewer-727e8f46.md

latest1.2 KB
Original Source

TdxPDFCustomViewer.OnPrepareLockedStateImage Event

Allows you to custom paint a “Locked View” image.

Declaration

delphi
property OnPrepareLockedStateImage: TdxPDFViewerPrepareLockedStateImageEvent read; write;

Remarks

This event occurs every time the “Locked View” image is painted on top of the PDF Viewer control. By default, the “Locked View” displays an image depicting the empty control with an optional visual effect and/or message box according to the current OptionsLockedStateImage property settings.

You can handle the OnPrepareLockedStateImage event to override or complement the default “Locked View” draw routines. Refer to the TdxPDFViewerPrepareLockedStateImageEvent type description for detailed information on all parameters accessible within an OnPrepareLockedStateImage event handler.

See Also

TdxPDFCustomViewer Class

TdxPDFCustomViewer Members

dxPDFViewer Unit