Link Search Menu Expand Document

CellSetFontProperties Method

Sets the font properties.

Namespace:Bytescout.Spreadsheet
Assembly: Bytescout.Spreadsheet (in Bytescout.Spreadsheet.dll) Version: 4.7.0.2045-master
Syntax
public void SetFontProperties(
	string FontName,
	bool IsBold,
	bool IsItalic,
	bool IsUnderline,
	float Size,
	int R,
	int G,
	int B
)

Parameters

FontName
Type: SystemString
Name of the font.
IsBold
Type: SystemBoolean
if set to true [is bold].
IsItalic
Type: SystemBoolean
if set to true [is italic].
IsUnderline
Type: SystemBoolean
if set to true [is underline].
Size
Type: SystemSingle
The size.
R
Type: SystemInt32
The red component value for the new color of the font.
G
Type: SystemInt32
The green component value for the new color of the font.
B
Type: SystemInt32
The blue component value for the new color of the font.

Implements

IFontFormatSetFontProperties(String, Boolean, Boolean, Boolean, Single, Int32, Int32, Int32)
See Also

Reference