TextureType 属性

       

返回指定填充的纹理类型。MsoTextureType 类型,只读。

expression TextureType

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

示例

本示例更改图表填充格式的自定义纹理类型。

With myChart.ChartArea.Fill
    If .Type = msoFillTextured Then
        If .TextureType = msoTextureUserDefined Then
            If .TextureName = "C:\brick.bmp" Then 
               .UserTextured "C:\stone.bmp"
            End If
        End If
    End If
End With