Font2 Members

Include Protected Members
Include Inherited Members

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

The Font2 type exposes the following members.

Properties

  Name Description
Public property Allcaps True if the font is formatted as all capital letters. Read/write.
Public property Application (Inherited from _IMsoDispObj.)
Public property Application Gets an object that represents the application the Font2 object is used in. Read-only.
Public property AutorotateNumbers Gets or sets a value that specifies whether the numbers in a numbered list should be rotated when the text is rotated. Read/write.
Public property BaselineOffset Gets or sets a value specifying the horizontal offset of the selected font. Read/write.
Public property Bold Gets or sets a value specifying whether the font should be bold. Read/write.
Public property Caps Gets or sets a value specifying that the text should be capitalized. Read/write.
Public property Creator (Inherited from _IMsoDispObj.)
Public property Creator Gets a value indicating the application the object was created in. Read-only.
Public property DoubleStrikeThrough True if the specified font is formatted as double strikethrough text. Read/write.
Public property Embeddable Gets a value indicating whether the font can be embedded in a page. Read-only.
Public property Embedded Gets a value specifying whether the font is embedded in a page. Read-only.
Public property Equalize Gets or sets a value specifying whether the text for a selection should be spaced equal distances apart. Read/write.
Public property Fill
Public property Glow Gets a value indicating whether the font is displayed as a glow effect. Read-only.
Public property Highlight Gets a value indicating whether the font is displayed as highlighted. Read-only.
Public property Italic Gets or sets a value specifying whether the text for a selection is italic. Read/write.
Public property Kerning Gets or sets a value specifying the amount of spacing between text characters. Read/write.
Public property Line Gets a value specifiying the format of a line. Read-only.
Public property Name Gets or sets a value specifying the font to use for a selection. Read/write.
Public property NameAscii Gets or sets the font used for Latin text (characters with character codes from 0 (zero) through 127). Read/write.
Public property NameComplexScript Gets or sets the complex script font name. Used for mixed language text. Read/write.
Public property NameFarEast Gets or sets an East Asian font name. Read/write.
Public property NameOther Gets or sets the font used for characters whose character set numbers are greater than 127. Read/write.
Public property Parent Gets the parent of the Font2 object. Read-only.
Public property Reflection Gets a value specifying the type of reflection format for the selection of text. Read-only.
Public property Shadow Gets the value specifying the type of shadow effect for the selection of text. Read-only.
Public property Size Gets or sets a value specifying the size of the font. Read/write.
Public property Smallcaps Gets or sets a value specifying whether small caps should be used with the selection of text. Small caps are the same height as the lowercase letters in a selection of text. Read/write.
Public property SoftEdgeFormat Gets or sets a value specifying the type of soft edge effect used in a selection of text. Read/write.
Public property Spacing Gets or sets a value specifying the spacing between characters in a selection of text. Read/write.
Public property Strike Gets or sets a value specifying the strike format used for a selection of text. Read/write.
Public property StrikeThrough Gets or sets a value specifying the text should be rendered in a strikethrough appearance. Read/write.
Public property Subscript Gets or sets a value specifying that the selected text should be displayed as subscript. Read/write.
Public property Superscript Gets or sets a value specifying that the selected text should be displayed as superscript. Read/write.
Public property UnderlineColor Gets a value specifying the color of the underline for the selected text. Read-only.
Public property UnderlineStyle Gets or sets a value specifying the underline style for the selected text. Read/write.
Public property WordArtformat Gets or sets a value specifying the text effect for the selected text. Read/write.

Top

See Also

Reference

Font2 Interface

Microsoft.Office.Core Namespace