NativeExcel for .Net Developer's Reference

IFont Members

IFont overview

Public Instance Properties

Bold Gets or sets a value that indicates whether the font is bold.
Color Returns or sets the color of the font. Read/write System.Drawing.Color.
ColorIndex Returns or sets the color of the font. The color is specified as an index value into the current color palette, or as the following XlColorIndex constant: xlColorIndexAutomatic, xlColorIndexNone. Read/write int.
Italic Gets or sets a value that indicates whether the font style is italic.
Name Returns or sets the name of the font. Read/write String.
OutlineFont Gets or sets a value that indicates whether the font is an outline font.
Shadow Gets or sets a value that indicates whether the font is a shadow font.
Size Returns or sets the size of the font. Read/write double.
Strikethrough Gets or sets a value that indicates whether the font is struck through with a horizontal line.
Subscript Gets or sets a value that indicates whether the font is formatted as subscript.
Superscript Gets or sets a value that indicates whether the font is formatted as superscript.
Underline Returns or sets the type of underline applied to the font. Read/write XlUnderlineStyle.

See Also

IFont Interface | NativeExcel Namespace | IRange.Font property