Emboss 属性

       

如果该属性值为 True,则将指定字体的格式设为阳文。可以返回 TrueFalse wdUndefined。可以设置为 TrueFalse wdToggleLong 类型,可读写。

说明

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