Excel font initialization.

Namespace:  C1.Silverlight.Excel
Assembly:  C1.Silverlight.Excel.5 (in C1.Silverlight.Excel.5.dll)

Syntax

C#
public XLFont(
	string fontName,
	float fontSize,
	bool bold,
	bool italic,
	Color color
)
Visual Basic
Public Sub New ( _
	fontName As String, _
	fontSize As Single, _
	bold As Boolean, _
	italic As Boolean, _
	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.
color
Type: System.Windows.Media..::..Color
The foreground color of the font, by default Black.

See Also