Share via


ChartGroup.DoughnutHoleSize Property (Word)

Returns or sets the size of the hole in a doughnut chart group. Read/write Long.

Version Information

Version Added: Word 2007

Syntax

expression .DoughnutHoleSize

expression A variable that represents a ChartGroup object.

Remarks

The hole size is expressed as a percentage of the chart size, from 10 through 90 percent.

Example

The following example sets the hole size for doughnut group one of the first chart in the active document. You should run the example on a 2-D doughnut chart.

With ActiveDocument.InlineShapes(1) 
 If .HasChart Then 
 .Chart.DoughnutGroups(1).DoughnutHoleSize = 10 
 End If 
End With

See Also

Concepts

ChartGroup Object

ChartGroup Object Members