Share via


Chart.Elevation Property (Word)

Returns or sets the elevation, in degrees, of the 3-D chart view. Read/write Long.

Version Information

Version Added: Word 2007

Syntax

expression .Elevation

expression A variable that represents a Chart object.

Remarks

The chart elevation is the height, in degrees, at which you view the chart. The default is 15 for most chart types. The value of this property must be between –90 and 90, except for 3-D bar charts, where it must be between 0 and 44.

Note

This property applies only to 3-D charts.

Example

The following example sets the chart elevation of the first chart in the active document to 34 degrees. You should run the example on a 3-D chart.

With ActiveDocument.InlineShapes(1) 
 If .HasChart Then 
 .Chart.Elevation = 34 
 End If 
End With

See Also

Concepts

Chart Object Members

Chart Object