ThreeDFormat.PresetMaterial Property
Returns or sets the extrusion surface material. Read/write.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Property PresetMaterial As MsoPresetMaterial
Get
Set
'Usage
Dim instance As ThreeDFormat
Dim value As MsoPresetMaterial
value = instance.PresetMaterial
instance.PresetMaterial = value
MsoPresetMaterial PresetMaterial { get; set; }
Property Value
Type: Microsoft.Office.Core.MsoPresetMaterial
MsoPresetMaterial
Remarks
The value of the PresetMaterial property can be one of these MsoPresetMaterial constants.
msoMaterialMatte |
msoMaterialMetal |
msoMaterialPlastic |
msoMaterialWireFrame |
msoPresetMaterialMixed |
Examples
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