Returns or sets the border style of the caption in the object.
Object.CaptionBorderStyle [ = enCaptionBorderStyle ]
The CaptionBorderStyle property syntax has the following parts:
Name |
Type |
Description |
Object |
AChart |
AChart control |
enCaptionBorderStyle |
enumAChartBorderStyle |
An integer specifying the predefined style of the caption on the object. This property can be set at design time and is read-only at run time. |
enumAChartBorderStyle can be one of the following:
Name |
Value |
Description |
achtBorderStyleNone |
0 |
No border is drawn. |
achtBorderStyleSingle |
1 * |
Single Border |
achtBorderStyleRaised |
2 |
Raised Border |
achtBorderStyleThickRaised |
3 |
Thick Raised Border |
achtBorderStyleSunken |
4 |
Sunken Border |
achtBorderStyleThickSunken |
5 |
Thick Sunken Border |
The following statement changes the AChart's caption to have a thick raised border style:
cht1.CaptionBorderStyle=achtBorderStyleThickRaised
Caption, CaptionFillColor, CaptionFillStyle, CaptionFont, CaptionForeColor, CaptionHeight, CaptionLeft, CaptionPicture, CaptionTop, CaptionWidth, Style