Skip to main content

TdxFilePreviewImageBasedHandler.ShowShadow Method

Indicates if the preview handler draws a shadow under the displayed image.

Declaration

function ShowShadow: Boolean; virtual;

Returns

Type Description
Boolean

True if the preview handler draws a shadow under the displayed image; otherwise, False.

Remarks

The ShowShadow function can return one of the following:

Value

Example

True

Displayed Shadows

False

Hidden Shadows

The built-in ShowShadow function always returns True. You can override this function in a TdxFilePreviewImageBasedHandler class descendant and return False to display no shadow under the displayed image.

See Also