ThreeDFormat.PresetMaterial property (PowerPoint)

Returns or sets the extrusion surface material. Read/write.

Syntax

expression. PresetMaterial

expression A variable that represents a ThreeDFormat object.

Return value

MsoPresetMaterial

Remarks

The value of the PresetMaterial property can be one of these MsoPresetMaterial constants.

msoMaterialMatte
msoMaterialMetal
msoMaterialPlastic
msoMaterialWireFrame
msoPresetMaterialMixed

Example

This example specifies that the extrusion surface for shape one in myDocument be wire frame.

Set myDocument = ActivePresentation.Slides(1)

With myDocument.Shapes(1).ThreeD

    .Visible = True

    .PresetMaterial = msoMaterialWireFrame

End With

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.