Skip to main content

TdxFilePreviewImageBasedHandler.DrawPreview(TcxCanvas,TRect) Method

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

Declaration

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