Partager via


Font.Emboss Property (Word)

True if the specified font is formatted as embossed. Read/write Long.

Syntax

expression .Emboss

expression A variable that represents a Font object.

Remarks

Returns True, False, or wdUndefined. Can be set to True, False, or wdToggle. Setting Emboss to True sets Engrave to False, and vice versa.

Example

This example embosses the second sentence in a new document.

With Documents.Add.Content 
 .InsertAfter "This is the first sentence. " 
 .InsertAfter "This is the second sentence. " 
 .Sentences(2).Font.Emboss = True 
End With

This example embosses the selected text.

If Selection.Type = wdSelectionNormal Then 
 Selection.Font.Emboss = True 
Else 
 MsgBox "You need to select some text." 
End If

See Also

Concepts

Font Object Members

Font Object