BorderStyle property (LEADDlgImage Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT BorderStyle

Delphi Syntax

BorderStyle: L_UINT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the style of the border in the AddBorder dialog box.

Possible values are:

Value

Meaning

BORDER_STYLE_TRANSPARENT

[0] The border is transparent. Therefore, the bitmap itself shows through as the border. This is the default.

BORDER_STYLE_OPAQUE

[1] Use a single color to create the border. The color used is GradientStartColor property.

BORDER_STYLE_GRADIENT

[2] The border contains a color gradient from GradientStartColor to GradientEndColor.

BORDER_STYLE_TILES

[3] The border is taken from the bitmap referenced by the ItemBitmap property.

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

See Also

Elements:

ShowAddBorderDlg method

Topics:

Imaging Common Dialogs: Properties, Methods, and Events