Share via


ChartGroup.FirstSliceAngle Property (Word)

Returns or sets the angle, in degrees (clockwise from vertical), of the first pie-chart or doughnut-chart slice. Read/write Long.

Version Information

Version Added: Word 2007

Syntax

expression .FirstSliceAngle

expression A variable that represents a ChartGroup object.

Remarks

This property applies only to pie, 3-D pie, and doughnut charts. It can be a value from 0 through 360.

Example

The following example sets the angle for the first slice in chart group one for the first chart in the active document. You should run the example on a 2-D pie chart.

With ActiveDocument.InlineShapes(1) 
 If .HasChart Then 
 .Chart.ChartGroups(1).FirstSliceAngle = 15 
 End If 
End With 

See Also

Concepts

ChartGroup Object

ChartGroup Object Members