Returns and sets the style of the border of the object.
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. |
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. |
The following statement returns the AChart border style:
lcht1BorderStyle = cht1.BorderStyle
The following statement sets the AChart border style to Single:
cht1.BorderStyle = aSingle
CaptionBorderStyle, FrameBorderStyle, PlotAreaBorderStyle, Style