Share via


ThreeDFormat.PresetMaterial Property

PowerPoint Developer Reference

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.

Visual Basic for Applications
  Set myDocument = ActivePresentation.Slides(1)
With myDocument.Shapes(1).ThreeD
    .Visible = True
    .PresetMaterial = msoMaterialWireFrame
End With

See Also