Version

Search Results

ColorInfo Property (FormattedFontBase)

Gets or sets the fore color of the font. Syntax Property Value The fore color of the font. Exceptions Exception Description System.InvalidOperationException The formatted string or text associated with the font is not assigned to a cell, comment, or shape. System.InvalidOperationException The fonts selection range...

Height Property (FormattedFontBase)

Gets or sets the height of the font. Syntax Property Value The height of the font. Exceptions Exception Description System.ArgumentOutOfRangeException The value assigned is positive and outside the valid font height range of 20 and 8180. System.InvalidOperationException The formatted string or text associated with...

Italic Property (FormattedFontBase)

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

Length Property

Gets the number of characters covered by this font. Zero indicates the font controls from the StartIndex to the end of the string. Syntax Property Value The number of characters covered by this font. Zero indicates the font controls from the StartIndex to the end of the string.

Name Property (FormattedFontBase)

Gets or sets the name of the font. Syntax Property Value The name of the font. Exceptions Exception Description System.InvalidOperationException The formatted string or text associated with the font is not assigned to a cell, comment, or shape. System.InvalidOperationException The fonts selection range is outside ...

SetFontFormatting Method (FormattedFontBase)

Sets all properties of this font to the properties of the specified font. Syntax Parameters source The font whose properties should be copied over to this font. Exceptions Exception Description System.ArgumentNullException source is null. System.InvalidOperationException The formatted string or text associated wit...

StartIndex Property (FormattedFontBase)

Gets the index of the first character covered by this font. Syntax Property Value The index of the first character covered by this font.

Strikeout Property (FormattedFontBase)

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

SuperscriptSubscriptStyle Property (FormattedFontBase)

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

UnderlineStyle Property (FormattedFontBase)

Gets or sets the underline style of the font. Syntax Property Value The underline style of the font. Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException The value assigned is not defined in the FontUnderlineStyle enumeration. System.InvalidOperationException The formatted string or ...