Description
The Font object represents a font style that you can use when creating a reusable Style object, or when setting the style of a cell or set of cells. To set or return a Font
object, use Style.Font.
C#
vb.net
Examples
C#
vb.net
Properties
Name |
Description |
---|---|
Sets or returns whether text will be displayed in bold face. | |
Sets or returns the color of the font. | |
Sets or returns whether text will be italicized. | |
Sets or returns the name of the font (e.g., "Arial"). The font must be available on the client's system for Excel to use it; if it is not available, Excel will use a default font. | |
Sets or returns the vertical position of the font in relation to other text. | |
Sets or returns the font size, in points. | |
Sets or returns whether strikethrough formatting will be applied to the font. | |
Sets or returns the underline style for this font. |
Nested Classes
Name |
Description |
---|---|
An UnderlineStyle value specifies an underline style for a font. | |
A vertical value specifies the vertical position of a font in relation to other text. |