语法
表达式.ShapeStyle
表达式 一个代表 Shape 对象的变量。
示例
下面的代码示例更改活动文档中第一个形状的形状样式。
let myShape = ActiveDocument.Shapes.Item(1) myShape.ShapeStyle = msoLineStylePreset12