Shapes (Shape)![]() |
包含应用于艺术字对象的属性和方法。
可用 TextEffect 属性返回 TextEffectFormat 对象。下例设置 myDocument
中的第一个图形的字体名称和格式。为使本示例正常运行,第一个图形必须是艺术字对象。
Set myDocument = Worksheets(1)
With myDocument.Shapes(1).TextEffect
.FontName = "Courier New"
.FontBold = True
.FontItalic = True
End With