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 ) |
Visual Basic |
---|
Public Sub New ( _ fontName As String, _ fontSize As Single, _ bold As Boolean, _ italic As Boolean _ ) |
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.