Font.Emboss 属性 (Word)

如此 如果将指定的字体的格式设置为阳文。 读/写 Long

语法

expressionEmboss

表达 一个代表 Font 对象的变量。

备注

返回 wdUndefined 。 可以设置为 wdToggle 。 设置为 True浮雕 设置 阴文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

另请参阅

Font 对象

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。