返回指定填充的纹理类型。MsoTextureType 类型,只读。
MsoTextureType 可为以下 MsoTextureType 常量之一。 |
msoTexturePreset |
msoTextureTypeMixed |
msoTextureUserDefined |
expression.TextureType
expression 必需。该表达式返回“应用于”列表中的对象之一。
使用 UserTextured 方法可设置填充的纹理类型。
本示例以第一张图表中使用的填充格式来设置第二张图表的填充格式。
Set c1f = Charts(1).ChartArea.Fill
If c1f.Type = msoFillTextured Then
With Charts(2).ChartArea.Fill
.Visible = True
If c1f.TextureType = msoTexturePreset Then
.PresetTextured c1f.PresetTexture
Else
.UserTextured c1f.TextureName
End If
End With
End If