Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.19 KB

Publisher.ThreeDFormat.PresetMaterial.md

File metadata and controls

49 lines (31 loc) · 1.19 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ThreeDFormat.PresetMaterial property (Publisher)
vbapb10.chm3801351
vbapb10.chm3801351
Publisher.ThreeDFormat.PresetMaterial
5f12fb22-f596-0d59-1f02-63ce8d4bd927
06/15/2019
medium

ThreeDFormat.PresetMaterial property (Publisher)

Returns or sets an MsoPresetMaterial constant that represents the extrusion surface material. Read/write.

Syntax

expression.PresetMaterial

expression A variable that represents a ThreeDFormat object.

Return value

MsoPresetMaterial

Remarks

The PresetMaterial property value can be one of the MsoPresetMaterial constants declared in the Microsoft Office type library.

Example

This example specifies that the extrusion surface for shape one in the active publication be a wireframe. For this example to work, the specified shape must be a 3D shape.

Sub SetExtrusionMaterial() 
 With ActiveDocument.Pages(1).Shapes(1).ThreeD 
 .Visible = True 
 .PresetMaterial = msoMaterialWireFrame 
 End With 
End Sub

[!includeSupport and feedback]