返回指定填充的自定义纹理文件名。String 类型,只读。
使用 UserPicture 或 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