该属性返回一个 TextEffectFormat 对象,该对象包含指定图形的文本效果格式属性。应用于代表“艺术字”的 Shape 或 ShapeRange 对象以及 InlineShape 对象。只读。
如果图形为“艺术字”,本示例将 myDocument
上图形 3 的字体样式设为粗体。
Set myDocument = ActiveDocument
With myDocument.Shapes(3)
If .Type = msoTextEffect Then
.TextEffect.FontBold = True
End If
End With