Skip to main content

TdxFilePreviewImageBasedHandler Members

The preview handler for files that can be displayed as images.

Properties

Name Description
FileName Returns the full path to the file for which the preview is displayed. Inherited from TdxFilePreviewCustomHandler.
Height Returns the source image’s height.
Width Returns the source image’s width.

Methods

Name Description
DrawPreview(TcxCanvas,TRect) Draws the preview of the focused file on the specified canvas.
Equals(TObject) Inherited from TObject.
GetHashCode Inherited from TObject.
GetHeight protected Returns the source image’s height.
GetWidth protected Returns the source image’s width.
Initialize Initializes the custom preview handler. Inherited from TdxFilePreviewCustomHandler.
KeepAspectRatio protected Indicates if the preview handler keeps the aspect ratio of displayed images.
Register(string) Enables the preview handler for the target file extension. Inherited from TdxFilePreviewCustomHandler.
RunInThread protected Indicates if the preview handler supports the initialization in a separate thread. Inherited from TdxFilePreviewCustomHandler.
ShowShadow protected Indicates if the preview handler draws a shadow under the displayed image.
ToString Inherited from TObject.
Unregister(string) Disables the preview handler for the target file extension. Inherited from TdxFilePreviewCustomHandler.
See Also