ChartGroup.Has3DShading property (Word)

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

Syntax

expression.Has3DShading

expression A variable that represents a ChartGroup object.

Remarks

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

Example

The following example adds 3D 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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.