TdxFilePreviewSource Enum
Enumerates file preview sources.
Declaration
TdxFilePreviewSource = (
PreviewHandler,
Thumbnail,
CustomHandler
);
Members
Name | Description |
---|---|
PreviewHandler
|
The preview pane can show the focused file’s content with an application registered in the operating system as the file’s preview handler. |
Thumbnail
|
The preview pane can show the focused image file’s thumbnail. |
CustomHandler
|
The preview pane can show the focused file’s content with a custom preview handler. Derive descendants from the TdxFilePreviewImageBasedHandler or TdxFilePreviewControlBasedHandler classes to create a custom preview handler. |
Remarks
The TdxFilePreviewSources type references the TdxFilePreviewSource type.
Note
TdxFilePreviewSource
is a scoped enumeration type. Use the type name together with a scope resolution token (.
in Delphi or ::
in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxFilePreviewSource.Thumbnail
(in Delphi) or TdxFilePreviewSource::Thumbnail
(in C++Builder) to refer to the Thumbnail
value in code.