ThreeDFormat.ExtrusionColorType property (Publisher)
Returns or sets an MsoExtrusionColorType constant indicating whether the extrusion color is based on the extruded shape's fill (the front face of the extrusion) and automatically changes when the shape's fill changes, or whether the extrusion color is independent of the shape's fill. Read/write.
Syntax
expression.ExtrusionColorType
expression A variable that represents a ThreeDFormat object.
Return value
MsoExtrusionColorType
Remarks
The ExtrusionColorType property value can be one of the MsoExtrusionColorType constants declared in the Microsoft Office type library.
Example
If the first shape in the active publication has an automatic extrusion color, this example gives the extrusion a custom yellow color.
With ActiveDocument.Pages(1).Shapes(1).ThreeD
If .ExtrusionColorType = msoExtrusionColorAutomatic Then
.ExtrusionColor.RGB = RGB(240, 235, 16)
End If
End With
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for