Share via


Font Object Members

Word Developer Reference

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

Methods

  Name Description
Bb257590.methods(en-us,office.12).gif Grow Increases the font size to the next available size.
Bb257590.methods(en-us,office.12).gif Reset Removes manual character formatting (formatting not applied using a style). For example, if you manually format a word as bold and the underlying style is plain text (not bold), the Reset method removes the bold format.
Bb257590.methods(en-us,office.12).gif SetAsTemplateDefault Sets the specified font formatting as the default for the active document and all new documents based on the active template.
Bb257590.methods(en-us,office.12).gif Shrink Decreases the font size to the next available size.

Properties

  Name Description
Bb257590.properties(en-us,office.12).gif AllCaps True if the font is formatted as all capital letters. Read/write Long.
Bb257590.properties(en-us,office.12).gif Animation Returns or sets the type of animation applied to the font. Read/write WdAnimation.
Bb257590.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257590.properties(en-us,office.12).gif Bold True if the font is formatted as bold. Read/write Long.
Bb257590.properties(en-us,office.12).gif BoldBi True if the font is formatted as bold. Read/write Long.
Bb257590.properties(en-us,office.12).gif Borders Returns a Borders collection that represents all the borders for the specified font.
Bb257590.properties(en-us,office.12).gif Color Returns or sets the 24-bit color for the specified Font object. Can be any valid WdColor constant or a value returned by Visual Basic's RGB function.
Bb257590.properties(en-us,office.12).gif ColorIndex Returns or sets a WdColorIndex constant that represents the color for the specified font. Read/write .
Bb257590.properties(en-us,office.12).gif ColorIndexBi Returns or sets the color for the specified Font object in a right-to-left language document. Read/write WdColorIndex.
Bb257590.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb257590.properties(en-us,office.12).gif DiacriticColor Returns or sets the 24-bit color to be used for diacritics for the specified Font object. Read/write.
Bb257590.properties(en-us,office.12).gif DisableCharacterSpaceGrid True if Microsoft Word ignores the number of characters per line for the corresponding Font object. Read/write Boolean.
Bb257590.properties(en-us,office.12).gif DoubleStrikeThrough True if the specified font is formatted as double strikethrough text.
Bb257590.properties(en-us,office.12).gif Duplicate Returns a read-only Font object that represents the character formatting of the specified font.
Bb257590.properties(en-us,office.12).gif Emboss True if the specified font is formatted as embossed. Read/write Long.
Bb257590.properties(en-us,office.12).gif EmphasisMark Returns or sets a WdEmphasisMark constnat that represents the emphasis mark for a character or designated character string. Read/write.
Bb257590.properties(en-us,office.12).gif Engrave True if the font is formatted as engraved. Read/write Long.
Bb257590.properties(en-us,office.12).gif Hidden True if the font is formatted as hidden text. Read/write Long.
Bb257590.properties(en-us,office.12).gif Italic True if the font or range is formatted as italic. Read/write Long.
Bb257590.properties(en-us,office.12).gif ItalicBi True if the font or range is formatted as italic. Read/write Long.
Bb257590.properties(en-us,office.12).gif Kerning Returns or sets the minimum font size for which Microsoft Word will adjust kerning automatically. Read/write Single.
Bb257590.properties(en-us,office.12).gif Name Returns or sets the name of the specified object. Read/write String.
Bb257590.properties(en-us,office.12).gif NameAscii Returns or sets the font used for Latin text (characters with character codes from 0 (zero) through 127). Read/write String.
Bb257590.properties(en-us,office.12).gif NameBi Returns or sets the name of the font in a right-to-left language document. Read/write String.
Bb257590.properties(en-us,office.12).gif NameFarEast Returns or sets an East Asian font name. Read/write String.
Bb257590.properties(en-us,office.12).gif NameOther Returns or sets the font used for characters with character codes from 128 through 255. Read/write String.
Bb257590.properties(en-us,office.12).gif Outline True if the font is formatted as outline. Read/write Long.
Bb257590.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified Font object.
Bb257590.properties(en-us,office.12).gif Position Returns or sets the position of text (in points) relative to the base line. Read/write Long.
Bb257590.properties(en-us,office.12).gif Scaling Returns or sets the scaling percentage applied to the font. Read/write Long.
Bb257590.properties(en-us,office.12).gif Shading Returns a Shading object that refers to the shading formatting for the specified font.
Bb257590.properties(en-us,office.12).gif Shadow True if the specified font is formatted as shadowed. Read/write Long.
Bb257590.properties(en-us,office.12).gif Size Returns or sets the font size, in points. Read/write Single.
Bb257590.properties(en-us,office.12).gif SizeBi Returns or sets the font size in points. Read/write Single.
Bb257590.properties(en-us,office.12).gif SmallCaps True if the font is formatted as small capital letters. Read/write Long.
Bb257590.properties(en-us,office.12).gif Spacing Returns or sets the spacing (in points) between characters. Read/write Single.
Bb257590.properties(en-us,office.12).gif StrikeThrough True if the font is formatted as strikethrough text. Read/write Long.
Bb257590.properties(en-us,office.12).gif Subscript True if the font is formatted as subscript. Read/write Long.
Bb257590.properties(en-us,office.12).gif Superscript True if the font is formatted as superscript. Read/write Long.
Bb257590.properties(en-us,office.12).gif Underline Returns or sets the type of underline applied to the font. Read/write WdUnderline.
Bb257590.properties(en-us,office.12).gif UnderlineColor Returns or sets the 24-bit color of the underline for the specified Font object.