Description
Initializes a new instance of the class ExcelCellFont with its properties.

Namespace: Docs.Excel
Assembly: Excel (in Excel.dll) Version: 3.1.0.0 (3.1)

Syntax

         
 C#  Visual Basic  Visual C++ 
public ExcelCellFont(
	string Name,
	int Size,
	Color FontColor,
	bool Bold,
	bool Italic,
	bool Strikeout,
	TypeOfScript Script,
	TypeOfUnderline Underline
)
Public Sub New ( _
	Name As String, _
	Size As Integer, _
	FontColor As Color, _
	Bold As Boolean, _
	Italic As Boolean, _
	Strikeout As Boolean, _
	Script As TypeOfScript, _
	Underline As TypeOfUnderline _
)
public:
ExcelCellFont(
	String^ Name, 
	int Size, 
	Color FontColor, 
	bool Bold, 
	bool Italic, 
	bool Strikeout, 
	TypeOfScript Script, 
	TypeOfUnderline Underline
)

Parameters

Name
String
A string representation of the FontFamily for the new ExcelCellFont.
Size
Int32
Size of the new ExcelCellFont.
FontColor
Color
Color of the new ExcelCellFont.
Bold
Boolean
True if new ExcelCellFont is bold.
Italic
Boolean
True if new ExcelCellFont is italic.
Strikeout
Boolean
True if new ExcelCellFont is
Script
TypeOfScript
Type of script of the new ExcelCellFont.
Underline
TypeOfUnderline
Underlininig of the new ExcelCellFont.

See Also