GradientStyle property (LEADDlgImage Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT GradientStyle

Delphi Syntax

GradientStyle: L_UINT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the gradient style in the AddBorder dialog box. Possible values are:

Value

Meaning

BORDER_GRAD_INSIDEOUT

[0] The gradient starts from the inside of the border and progresses toward the outside of the border. This is the default.

BORDER_GRAD_CENTEROUT

[1] The gradient starts from the center of the border and progresses toward both the inside and outside of the border.

BORDER_GRAD_CORNEROUT

[2] The gradient starts from the corners of the border.

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

See Also

Elements:

ShowAddBorderDlg method.

Topics:

Imaging Common Dialogs: Properties, Methods, and Events