CaptionWidth Property (AChart)

Returns or sets the width in pixels of the caption in the object.

Syntax

Object.CaptionWidth [ = lCaptionWidth ]

The CaptionWidth property syntax has the following parts:

 

Name

Type

Description

Object

AChart

AChart control

lCaptionWidth

APixel

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

Example

The following statement changes the AChart's CaptionWidth so that caption is fifteen pixels wide.

cht1.CaptionWidth=15

Applies to

AChart

See Also

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