ThreeDFormat.PresetExtrusionDirection property (Word)

Returns the direction taken by the extrusion's sweep path leading away from the extruded shape (the front face of the extrusion). Read/write MsoPresetExtrusionDirection.

Syntax

expression. PresetExtrusionDirection

expression Required. A variable that represents a 'ThreeDFormat' object.

Remarks

This property is read-only. To set the value of this property, use the SetExtrusionDirection method.

Example

This example changes each extrusion on myDocument that extends toward the upper-left corner of the extrusion's front face to an extrusion that extends toward the lower-right corner of the front face.

Set myDocument = ActiveDocument 
For Each s In myDocument.Shapes 
 With s.ThreeD 
 If .PresetExtrusionDirection = msoExtrusionTopLeft Then 
 .SetExtrusionDirection msoExtrusionBottomRight 
 End If 
 End With 
Next

See also

ThreeDFormat 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.