全部显示

TextureType 属性

       

该属性返回用于指定填充的纹理类型。MsoTextureType,只读。

expression.TextureType

expression   必需。该表达式返回“应用于”列表中的一个对象。

说明

该属性为只读。使用 PresetTexturedUserPictureUserTextured 方法可设置用于填充的纹理类型。

示例

本示例将活动文档中所有以自定义纹理填充的图形更改为使用画布纹理填充。

For Each s In ActiveDocument.Shapes
    With s.Fill
        If .TextureType = msoTextureUserDefined Then
            .PresetTextured msoTextureCanvas
        End If
    End With
Next