如果该属性值为 True,则将指定字体的格式设为阳文。可以返回 True、False 或 wdUndefined。可以设置为 True、False 或 wdToggle。Long 类型,可读写。
将 Emboss 设置为 True,就是将 Engrave 设置为 False。反之亦然。
本示例将新文档中第二个句子用阳文显示。
With Documents.Add.Content
.InsertAfter "This is the first sentence. "
.InsertAfter "This is the second sentence. "
.Sentences(2).Font.Emboss = True
End With
本示例将选定的文本用阳文显示。
If Selection.Type = wdSelectionNormal Then
Selection.Font.Emboss = True
Else
MsgBox "You need to select some text."
End If