BorderStyle Property (AChart)

Returns and sets the style of the border of the object.

Syntax

Object.BorderStyle [ = enBorderStyle ]

The BorderStyle property syntax has the following parts:

 

Name

Type

Description

Object

AChart

AChart object

enBorderStyle

enumABorderStyle

An integer specifying the style of the border around the object.

Where

enumABorderStyle can be one of the following:

 

Name

Value

Description

aNone

0

No border.

aSingle

1

Single. The container BorderStyle overrides this property by sizing the control and drawing more BorderStyle effects.

Comments

 

Example

The following statement returns the AChart border style:

lcht1BorderStyle = cht1.BorderStyle

The following statement sets the AChart border style to Single:

cht1.BorderStyle = aSingle

Applies to

AChart

See Also

CaptionBorderStyle, FrameBorderStyle, PlotAreaBorderStyle, Style