Excel font initialization.
Namespace:
C1.Silverlight.ExcelAssembly: C1.Silverlight.Excel.5 (in C1.Silverlight.Excel.5.dll)
Syntax
C# |
---|
public XLFont( string fontName, float fontSize, bool bold, bool italic, bool strikeout, XLFontScript fs, XLUnderlineStyle us, Color color ) |
Visual Basic |
---|
Public Sub New ( _ fontName As String, _ fontSize As Single, _ bold As Boolean, _ italic As Boolean, _ strikeout As Boolean, _ fs As XLFontScript, _ us As XLUnderlineStyle, _ color As Color _ ) |
Parameters
- fontName
- Type: System..::..String
The font name, by default Arial.
- fontSize
- Type: System..::..Single
The font size in points, by default 10 pt.
- bold
- Type: System..::..Boolean
The bold flag of the font.
- italic
- Type: System..::..Boolean
The italic flag of the font.
- strikeout
- Type: System..::..Boolean
The strikeout flag of the font.
- fs
- Type: C1.Silverlight.Excel..::..XLFontScript
The font superscript/subscript, by default None.
- us
- Type: C1.Silverlight.Excel..::..XLUnderlineStyle
Select XLUnderlineStyle as underline style, by default None.
- color
- Type: System.Windows.Media..::..Color
The foreground color of the font, by default Black.