Abstract base class which controls the formatting of a range of characters in a or .
Inheritance
object
Classes that extend this class.
Derived Classes- IWorkbookFont
Properties
Section titled "Properties"Gets or sets the value indicating whether the font is bold.
public ExcelDefaultableBoolean Bold { get; set; } ColorInfo
Section titled "ColorInfo"Gets or sets the fore color of the font.
public WorkbookColorInfo ColorInfo { get; set; } Height
Section titled "Height"Gets or sets the height of the font.
public int Height { get; set; } Italic
Section titled "Italic"Gets or sets the value indicating whether the font is italic.
public ExcelDefaultableBoolean Italic { get; set; } Length
Section titled "Length"Gets the number of characters covered by this font. Zero indicates the font controls from the to the end of the string.
public int Length { get; } Gets or sets the name of the font.
public string Name { get; set; } StartIndex
Section titled "StartIndex"Gets the index of the first character covered by this font.
public int StartIndex { get; } Strikeout
Section titled "Strikeout"Gets or sets the value indicating whether the font is struck out.
public ExcelDefaultableBoolean Strikeout { get; set; } SuperscriptSubscriptStyle
Section titled "SuperscriptSubscriptStyle"Gets or sets the value indicating whether the font is superscript or subscript.
public FontSuperscriptSubscriptStyle SuperscriptSubscriptStyle { get; set; } UnderlineStyle
Section titled "UnderlineStyle"Gets or sets the underline style of the font.
public FontUnderlineStyle UnderlineStyle { get; set; } Methods
Section titled "Methods"SetFontFormatting(IWorkbookFont)
Section titled "SetFontFormatting(IWorkbookFont)"Sets all properties of this font to the properties of the specified font.
public void SetFontFormatting(IWorkbookFont source) Parameters
- source:
IWorkbookFont