Skip to main content

TdxPDFCustomViewer.OnPrepareLockedStateImage Event

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

Declaration

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