Table of contents
TOC
折叠目录
展开目录

ThreeDFormat.ExtrusionColorType 属性 (发布服务器)ThreeDFormat.ExtrusionColorType Property (Publisher)

office 365 dev account|上次更新日期: 2018/3/13
|
3 参与人员

返回或设置常数,该常数指示延伸区域的颜色是否基于延伸的形状的填充 (延伸区域的正面) 和自动更改形状的填充色的改变,或者延伸区域的颜色是否独立于形状的填充。读/写。Returns or sets an MsoExtrusionColorType constant indicating whether the extrusion color is based on the extruded shape's fill (the front face of the extrusion) and automatically changes when the shape's fill changes, or whether the extrusion color is independent of the shape's fill. Read/write.

语法Syntax

表达式ExtrusionColorTypeexpression. ExtrusionColorType

_expression_A 表示ThreeDFormat对象的变量。_expression_A variable that represents an ThreeDFormat object.

返回值Return Value

可读MsoExtrusionColorType

注解Remarks

ExtrusionColorType属性值可以是一种 * * 在 Microsoft Office 类型库中声明常量。The ExtrusionColorType property value can be one of the ** MsoExtrusionColorType** constants declared in the Microsoft Office type library.

示例Example

在以下示例中,如果当前出版物的第一个形状具有自动延伸颜色,则为该延伸部分设置自定义的黄色。If the first shape in the active publication has an automatic extrusion color, this example gives the extrusion a custom yellow color.

With ActiveDocument.Pages(1).Shapes(1).ThreeD 
    If .ExtrusionColorType = msoExtrusionColorAutomatic Then 
        .ExtrusionColor.RGB = RGB(240, 235, 16) 
    End If 
End With 
© 2018 Microsoft