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