ChartGroup.FirstSliceAngle Property (PowerPoint)
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: PowerPoint 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
Note
Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.
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