返回预设的延伸格式。 每个预设的挤出格式都包含一组用于挤出 3D 属性的预设值。
语法
表达式。SetThreeDFormat (PresetThreeDFormat)
表达式 表示 ThreeDFormat 对象的变量。
参数
| 名称 | 必需/可选 | 数据类型 | 说明 |
|---|---|---|---|
| PresetThreeDFormat | 必需 | MsoPresetThreeDFormat | 指定预设的拉伸格式,该格式对应于选择“绘图”工具栏上的“三维”按钮时显示 (从左到右、从上到下编号) 选项之一。 可以是在 Microsoft Office 类型库中声明的 MsoPresetThreeDFormat 常量之一。 |
备注
此方法将 PresetThreeDFormat 属性设置为 PresetThreeDFormat 参数指定的格式。
示例
此示例将椭圆形添加到活动出版物,并将其压模格式设置为预设 3D 格式之一。
With ActiveDocument.Pages(1).Shapes _
.AddShape(Type:=msoShapeOval, _
Left:=30, Top:=30, Width:=50, Height:=25).ThreeD
.Visible = True
.SetThreeDFormat PresetThreeDFormat:=msoThreeD12
End With
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。