Table of contents
TOC
Collapse the table of content
Expand the table of content

Font2 Object (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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 

Properties

Name
Allcaps
Application
AutorotateNumbers
BaselineOffset
Bold
Caps
Creator
DoubleStrikeThrough
Embeddable
Embedded
Equalize
Fill
Glow
Highlight
Italic
Kerning
Line
Name
NameAscii
NameComplexScript
NameFarEast
NameOther
Parent
Reflection
Shadow
Size
Smallcaps
SoftEdgeFormat
Spacing
Strike
StrikeThrough
Subscript
Superscript
UnderlineColor
UnderlineStyle
WordArtformat

See also

Other resources

Object Model Reference

© 2017 Microsoft