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

TdxFilePreviewImageBasedHandler.DrawPreview(TcxCanvas,TRect) Method

Draws the preview of the focused file on the specified canvas.

#Declaration

Delphi
procedure DrawPreview(ACanvas: TcxCanvas; const ABounds: TRect); virtual; abstract;

#Parameters

Name Type Description
ACanvas TcxCanvas

A canvas.

ABounds TRect

The target area’s boundaries.

#Remarks

You should override this procedure in a TdxFilePreviewImageBasedHandler class descendant to custom draw the focused file’s preview.

See Also