包含应用于艺术字对象的属性和方法。
备注
使用 Shape 对象的 TextEffect 属性可返回 TextEffectFormat 对象。
示例
下例为 myDocument 上的形状一设置字体名称及格式。 要运行本示例,形状一必须是艺术字对象。
Set myDocument = Worksheets(1)
With myDocument.Shapes(1).TextEffect
.FontName = "Courier New"
.FontBold = True
.FontItalic = True
End With
方法
属性
- Alignment
- 应用程序
- Creator
- FontBold
- FontItalic
- FontName
- FontSize
- KernedPairs
- NormalizedHeight
- Parent
- PresetShape
- PresetTextEffect
- RotatedChars
- Text
- Tracking
另请参阅
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。