Font Members

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

The Font type exposes the following members.

  NameDescription
Public method Grow Increases the font size to the next available size. If the selection or range contains more than one font size, each size is increased to the next available setting. (Inherited from _Font.)
Public method Reset Removes manual character formatting (formatting not applied using a style). (Inherited from _Font.)
Public method SetAsTemplateDefault Sets the specified font formatting as the default for the active document and all new documents based on the active template. The default font formatting is stored in the Normal style. (Inherited from _Font.)
Public method Shrink Decreases the font size to the next available size. (Inherited from _Font.)
Top

  NameDescription
Public property AllCaps True if the font is formatted as all capital letters. Returns True, False, or wdUndefined (a mixture of True and False). Can be set to True, False, or wdToggle (reverses the current setting). Read/write Integer. (Inherited from _Font.)
Public property Animation Returns or sets the type of animation applied to the font. (Inherited from _Font.)
Public property Application Returns a Application object that represents the Microsoft Word application. (Inherited from _Font.)
Public property Bold True if the font or range is formatted as bold. Returns True, False or wdUndefined (a mixture of True and False). Can be set to True, False, or wdToggle. Read/write Integer. (Inherited from _Font.)
Public property BoldBi True if the font or range is formatted as bold. Returns True, False or wdUndefined (for a mixture of bold and non-bold text). Can be set to True, False, or wdToggle. Read/write Integer. (Inherited from _Font.)
Public property Borders Returns a Borders collection that represents all the borders for the specified object. (Inherited from _Font.)
Public property Color Returns or sets the 24-bit color for the specified Font object. (Inherited from _Font.)
Public property ColorIndex Returns or sets the color for the specified Border or Font object. (Inherited from _Font.)
Public property ColorIndexBi Returns or sets the color for the specified Font object in a right-to-left language document. (Inherited from _Font.)
Public property ContextualAlternates Specifies whether or not contextual alternates are enabled for the specified font. (Inherited from _Font.)
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Integer. (Inherited from _Font.)
Public property DiacriticColor Returns or sets the 24-bit color to be used for diacritics for the specified Font object. Can be any valid WdColor constant or a value returned by Visual Basic's RGB function. Read/write. (Inherited from _Font.)
Public property DisableCharacterSpaceGrid True if Microsoft Word ignores the number of characters per line for the corresponding Font object. Read/write Boolean. (Inherited from _Font.)
Public property DoubleStrikeThrough True if the specified font is formatted as double strikethrough text. Returns True, False, or wdUndefined (a mixture of True and False). Can be set to True, False, or wdToggle. Read/write Integer. (Inherited from _Font.)
Public property Duplicate Returns a read-only Font object that represents the character formatting of the specified font. (Inherited from _Font.)
Public property Emboss True if the specified font is formatted as embossed. Returns True, False, or wdUndefined. Can be set to True, False, or wdToggle. Read/write Integer. (Inherited from _Font.)
Public property EmphasisMark Returns or sets the emphasis mark for a character or designated character string. (Inherited from _Font.)
Public property Engrave True if the font is formatted as engraved. Returns True, False or wdUndefined (a mixture of True and False). Can be set to True, False, or wdToggle. Read/write Integer. (Inherited from _Font.)
Public property Fill Gets a FillFormat object that contains fill formatting properties for the font used by the specified range of text. (Inherited from _Font.)
Public property Glow Gets a GlowFormat object that represents the glow formatting for the font used by the specified range of text. (Inherited from _Font.)
Public property Hidden True if the font is formatted as hidden text. Returns True, False or wdUndefined (a mixture of True and False). Can be set to True, False, or wdToggle. Read/write Integer. (Inherited from _Font.)
Public property Italic True if the font or range is formatted as italic. Returns True, False or wdUndefined (a mixture of True and False). Can be set to True, False, or wdToggle. Read/write Integer. (Inherited from _Font.)
Public property ItalicBi True if the font or range is formatted as italic. Returns True, False or wdUndefined (for a mixture of italic and non-italic text). Can be set to True, False, or wdToggle. Read/write Integer. (Inherited from _Font.)
Public property Kerning Returns or sets the minimum font size for which Microsoft Word will adjust kerning automatically. Read/write Single. (Inherited from _Font.)
Public property Ligatures Gets or sets the ligatures setting for the specified Font object. (Inherited from _Font.)
Public property Line Gets a LineFormat object that specifies the formatting for a line. (Inherited from _Font.)
Public property Name Returns or sets the name of the specified object. Read/write String. (Inherited from _Font.)
Public property NameAscii Returns or sets the font used for Latin text (characters with character codes from 0 (zero) through 127). Read/write String. (Inherited from _Font.)
Public property NameBi Returns or sets the name of the font in a right-to-left language document. Read/write String. (Inherited from _Font.)
Public property NameFarEast Returns or sets an East Asian font name. Read/write String. (Inherited from _Font.)
Public property NameOther Returns or sets the font used for characters with character codes from 128 through 255. Read/write String. (Inherited from _Font.)
Public property NumberForm Returns or sets the number form setting for an OpenType font. (Inherited from _Font.)
Public property NumberSpacing Gets or sets the number spacing setting for a font. (Inherited from _Font.)
Public property Outline True if the font is formatted as outline. Returns True, False, or wdUndefined (a mixture of True and False). Can be set to True, False, or wdToggle. Read/write Integer. (Inherited from _Font.)
Public property Parent Returns an object that represents the parent object of the specified object. (Inherited from _Font.)
Public property Position Returns or sets the position of text (in points) relative to the base line. A positive number raises the text, and a negative number lowers it. Read/write Integer. (Inherited from _Font.)
Public property Reflection Gets a ReflectionFormat object that represents the reflection formatting for a shape. (Inherited from _Font.)
Public property Scaling Returns or sets the scaling percentage applied to the font. This property stretches or compresses text horizontally as a percentage of the current size (the scaling range is from 1 through 600). Read/write Integer. (Inherited from _Font.)
Public property Shading Returns a Shading object that refers to the shading formatting for the specified object. (Inherited from _Font.)
Public property Shadow True if the specified font is formatted as shadowed. Can be True, False, or wdUndefined. Read/write Integer. (Inherited from _Font.)
Public property Size Returns or sets the font size in points. Read/write Single. (Inherited from _Font.)
Public property SizeBi Returns or sets the font size in points. Read/write Single. (Inherited from _Font.)
Public property SmallCaps True if the font is formatted as small capital letters. Returns True, False or wdUndefined (a mixture of True and False). Can be set to True, False, or wdToggle. Read/write Integer. (Inherited from _Font.)
Public property Spacing Returns or sets the spacing (in points) between characters. Read/write Single. (Inherited from _Font.)
Public property StrikeThrough True if the font is formatted as strikethrough text. Returns True, False or wdUndefined (a mixture of True and False). Can be set to True, False, or wdToggle. Read/write Integer. (Inherited from _Font.)
Public property StylisticSet Gets or sets the stylistic set for the specified font. (Inherited from _Font.)
Public property Subscript True if the font is formatted as subscript. Returns True, False or wdUndefined (a mixture of True and False). Can be set to True, False, or wdToggle. Read/write Integer. (Inherited from _Font.)
Public property Superscript True if the font is formatted as superscript. Returns True, False or wdUndefined (a mixture of True and False). Can be set to True, False, or wdToggle. Read/write Long. (Inherited from _Font.)
Public property TextColor Gets a ColorFormat object that represents the color for the specified font. (Inherited from _Font.)
Public property TextShadow Gets a ShadowFormat object that specifies the shadow formatting for the specified font. (Inherited from _Font.)
Public property ThreeD Gets a ThreeDFormat object that contains 3-D effect formatting properties for the specified font. (Inherited from _Font.)
Public property Underline Returns or sets the type of underline applied to the font. Read/write WdUnderline. (Inherited from _Font.)
Public property UnderlineColor Returns or sets the 24-bit color of the underline for the specified Font object. (Inherited from _Font.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft