Inclination Property

Microsoft Office Web Components Object Model

Inclination Property

       

Returns or sets a Double indicating the inclination of the view of the specified three-dimensional (3-D) chart. Valid values range from -90 to 90. Read/write.

expression.Inclination

expression   Required. An expression that returns a ChChart object.

Remarks

Setting this property to 90 yields an overhead view of the specified chart.

Example

This example converts the first chart in Chartspace1 to a 3-D Column chart and then sets the inclination of the view.

Sub SetGapDepth()

    Dim cht3DColumn As ChChart

    ' Set a variable to the first chart in Chartspace1.
    Set cht3DColumn = ChartSpace1.Charts(0)

    ' Change the chart to a 3-D Column chart.
    cht3DColumn.Type = chChartTypeColumn3D

    ' Set the inclination.
    cht3DColumn.Inclination = 45

End Sub