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 Members

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

#Properties
Show Inherited Hide Inherited

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
Show Inherited Hide Inherited

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