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

ChartGroup.Has3DShading Property (PowerPoint)

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

True if a chart group has three-dimensional shading. Read/write Boolean.


expression. Has3DShading

expression A variable that represents a ChartGroup object.


Setting Has3DShading to False removes the 3-D shading effect from the chart (rendering it as flat). Setting Has3DShading to True sets the chart content to the default.


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

The following example adds 3-D shading to the first chart group of the first chart in the active document.

With ActiveDocument.InlineShapes(1)

    If .HasChart Then

        .Chart.ChartGroups(1).Has3DShading = True

    End If

End With

See also


ChartGroup Object

© 2018 Microsoft