Shape.ThreeD property (Word)
Returns a ThreeDFormat object that contains 3D formatting properties for the specified shape. Read-only.
Syntax
expression.ThreeD
expression A variable that represents a Shape object.
Example
This example sets the depth, extrusion color, extrusion direction, and lighting direction for the 3D effects applied to shape one on myDocument.
Set myDocument = ActiveDocument
With myDocument.Shapes(1).ThreeD
.Visible = True
.Depth = 50
' RGB value for purple
.ExtrusionColor.RGB = RGB(255, 100, 255)
.SetExtrusionDirection msoExtrusionTop
.PresetLightingDirection = msoLightingLeft
End With
See also
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.