Font Object Members
Contains font attributes (such as font name, font size and color) for an object.
Methods
Name | Description | |
---|---|---|
![]() | Grow | Increases the font size to the next available size. |
![]() | 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. |
![]() | SetAsTemplateDefault | Sets the specified font formatting as the default for the active document and all new documents based on the active template. |
![]() | Shrink | Decreases the font size to the next available size. |
Properties
Name | Description | |
---|---|---|
![]() | AllCaps | True if the font is formatted as all capital letters. Read/write Long. |
![]() | Animation | Returns or sets the type of animation applied to the font. Read/write WdAnimation. |
![]() | Application | Returns an Application object that represents the Microsoft Word application. |
![]() | Bold | True if the font is formatted as bold. Read/write Long. |
![]() | BoldBi | True if the font is formatted as bold. Read/write Long. |
![]() | Borders | Returns a Borders collection that represents all the borders for the specified font. |
![]() | 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. |
![]() | ColorIndex | Returns or sets a WdColorIndex constant that represents the color for the specified font. Read/write . |
![]() | ColorIndexBi | Returns or sets the color for the specified Font object in a right-to-left language document. Read/write WdColorIndex. |
![]() | Creator | Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long. |
![]() | DiacriticColor | Returns or sets the 24-bit color to be used for diacritics for the specified Font object. Read/write. |
![]() | DisableCharacterSpaceGrid | True if Microsoft Word ignores the number of characters per line for the corresponding Font object. Read/write Boolean. |
![]() | DoubleStrikeThrough | True if the specified font is formatted as double strikethrough text. |
![]() | Duplicate | Returns a read-only Font object that represents the character formatting of the specified font. |
![]() | Emboss | True if the specified font is formatted as embossed. Read/write Long. |
![]() | EmphasisMark | Returns or sets a WdEmphasisMark constnat that represents the emphasis mark for a character or designated character string. Read/write. |
![]() | Engrave | True if the font is formatted as engraved. Read/write Long. |
![]() | Hidden | True if the font is formatted as hidden text. Read/write Long. |
![]() | Italic | True if the font or range is formatted as italic. Read/write Long. |
![]() | ItalicBi | True if the font or range is formatted as italic. Read/write Long. |
![]() | Kerning | Returns or sets the minimum font size for which Microsoft Word will adjust kerning automatically. Read/write Single. |
![]() | Name | Returns or sets the name of the specified object. Read/write String. |
![]() | NameAscii | Returns or sets the font used for Latin text (characters with character codes from 0 (zero) through 127). Read/write String. |
![]() | NameBi | Returns or sets the name of the font in a right-to-left language document. Read/write String. |
![]() | NameFarEast | Returns or sets an East Asian font name. Read/write String. |
![]() | NameOther | Returns or sets the font used for characters with character codes from 128 through 255. Read/write String. |
![]() | Outline | True if the font is formatted as outline. Read/write Long. |
![]() | Parent | Returns an Object that represents the parent object of the specified Font object. |
![]() | Position | Returns or sets the position of text (in points) relative to the base line. Read/write Long. |
![]() | Scaling | Returns or sets the scaling percentage applied to the font. Read/write Long. |
![]() | Shading | Returns a Shading object that refers to the shading formatting for the specified font. |
![]() | Shadow | True if the specified font is formatted as shadowed. Read/write Long. |
![]() | Size | Returns or sets the font size, in points. Read/write Single. |
![]() | SizeBi | Returns or sets the font size in points. Read/write Single. |
![]() | SmallCaps | True if the font is formatted as small capital letters. Read/write Long. |
![]() | Spacing | Returns or sets the spacing (in points) between characters. Read/write Single. |
![]() | StrikeThrough | True if the font is formatted as strikethrough text. Read/write Long. |
![]() | Subscript | True if the font is formatted as subscript. Read/write Long. |
![]() | Superscript | True if the font is formatted as superscript. Read/write Long. |
![]() | Underline | Returns or sets the type of underline applied to the font. Read/write WdUnderline. |
![]() | UnderlineColor | Returns or sets the 24-bit color of the underline for the specified Font object. |