CaptionTop Property (AChart)

Returns or sets the top position in pixels of the caption in the object.

Syntax

Object.CaptionTop [ = lCaptionTop ]

The CaptionTop property syntax has the following parts:

 

Name

Type

Description

Object

AChart

AChart control

lCaptionTop

APixel

An integer specifying the top position in pixels of the caption of the object. The default is -1 (AutoSize).

Example

The following statement changes the AChart's CaptionTop so that caption starts at ten pixels from the top of the control.

cht1.CaptionTop=10

Applies to

AChart

See Also

Caption, CaptionBorderStyle, CaptionFillColor, CaptionFillStyle, CaptionFont, CaptionForeColor, CaptionHeight, CaptionLeft, CaptionPicture, CaptionWidth