Table of contents
Collapse the table of content
Expand the table of content

ChartGroup.DoughnutHoleSize Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

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


expression. DoughnutHoleSize

expression A variable that represents a ChartGroup object.


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


Note Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.

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


ChartGroup Object

© 2018 Microsoft