Class ChartArea (Word VBA)

The class ChartArea represents the chart area of a chart.

Class Chart gives access to class ChartArea.


Dim caa as ChartArea
Set caa = ActiveDocument.Background.Chart.ChartArea

Methods

Clear - Clears the entire object.

ClearContents - Clears the data from a chart but leaves the formatting.

ClearFormats - Clears the formatting of the object.

Copy - Copies the object to the Clipboard.

Select - Selects the object.

Properties

Format returns the line, fill, and effect formatting for the object.

Height returns or sets the height, in points, of the object.

Left returns or sets the distance, in points, from the left edge of the object to the left edge of the chart area.

Name returns the name of the object.

Shadow returns or sets a value that determines whether the object has a shadow.

Top returns or sets the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart).

Width returns or sets the width, in points, of the object.

ChartFormat - Provides access to the OfficeArt formatting for chart elements.