ShadowDirection property (LEADDlgImage Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT ShadowDirection

Delphi Syntax

ShadowDirection: L_UINT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the direction of the shadow in the AddBorder dialog box.

This value is used only when the UseShadow property is TRUE. Possible values are:

Value

Meaning

BORDER_SHADOW_LEFT

[0] The shadow is on the left top side of the image. This is the default.

BORDER_SHADOW_RIGHT

[1] The shadow is on the right bottom side of the image.

BORDER_SHADOW_SURROUND

[2] The shadow surrounds the border.

When the dialog box closes, this property will be updated according to the Shadows Placement combo box value in the dialog box.

See Also

Elements:

ShowAddBorderDlg method

Topics:

Imaging Common Dialogs: Properties, Methods, and Events