Returns or sets the width in pixels of the caption in the object.
Object.CaptionWidth [ = lCaptionWidth ]
The CaptionWidth property syntax has the following parts:
Name |
Type |
Description |
Object |
AChart |
AChart control |
lCaptionWidth |
An integer specifying the width of the caption of the object in pixels. The default is -1 (AutoSize). |
The following statement changes the AChart's CaptionWidth so that caption is fifteen pixels wide.
cht1.CaptionWidth=15
Caption, CaptionBorderStyle, CaptionFillColor, CaptionFillStyle, CaptionFont, CaptionForeColor, CaptionHeight, CaptionLeft, CaptionPicture, CaptionTop