Font2 Object (Office)

Contains font attributes (for example, font name, font size, and color) for an object.

Example

The following example changes the formatting of the Heading 2 style in the active document to Arial and bold.

With ActiveDocument.Styles(wdStyleHeading2).Font2 
 .Name = "Arial" 
 .Italic = True 
End With 

See Also

Concepts

Font2 Object Members

Object Model Reference