Version

Search Results

Bold Property (IWorkbookFont)

Gets or sets the value which indicates whether the font is bold. Syntax Property Value The value which indicates whether the font is bold. Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException The value assigned is not defined in the ExcelDefaultableBoolean enumeration.

ColorInfo Property (IWorkbookFont)

Gets or sets the foreground color of the font. Syntax Property Value The foreground color of the font.

Height Property (IWorkbookFont)

Gets or sets the font height in twips (1/20th of a point). Syntax Property Value The font height in twips (1/20th of a point). Exceptions Exception Description System.ArgumentOutOfRangeException The value assigned is positive and outside the valid font height range of 20 and 8180. Remarks A negative value indicate...

Italic Property (IWorkbookFont)

Gets or sets the value which indicates whether the font is italic. Syntax Property Value The value which indicates whether the font is italic. Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException The value assigned is not defined in the ExcelDefaultableBoolean enumeration.

Name Property (IWorkbookFont)

Gets or sets the font family name. Syntax Property Value The font family name.

SetFontFormatting Method (IWorkbookFont)

Sets all font properties to specific font formatting. Syntax Parameters source Source font format.

Strikeout Property (IWorkbookFont)

Gets or sets the value which indicates whether the font is struck out. Syntax Property Value The value which indicates whether the font is struck out. Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException The value assigned is not defined in the ExcelDefaultableBoolean enumeration.

SuperscriptSubscriptStyle Property (IWorkbookFont)

Gets or sets the value which indicates whether the font is superscript or subscript. Syntax Property Value The value which indicates whether the font is superscript or subscript. Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException The value assigned is not defined in the FontSupersc...