Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxPDFCustomViewer.OnPrepareLockedStateImage Event

In This Article

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