语法
表达式.PresetTextured(PresetTexture)
表达式 一个代表 FillFormat 对象的变量。
参数
示例
此示例以第一个图表中使用的填充样式对第二个图表的填充格式进行设置。
let c1f = Charts.Item(1).ChartArea.Fill if(c1f.Type == msoFillTextured) { let c2f = Charts.Item(2).ChartArea.Fill c2f.Visible = true if(c1f.TextureType == msoTexturePreset) { c2f.PresetTextured(c1f.PresetTexture) } else { c2f.UserTextured(c1f.TextureName) } }