Link Search Menu Expand Document

IFontFormatSetFontProperties Method

Sets the font properties.

Namespace:Bytescout.Spreadsheet.COM
Assembly: Bytescout.Spreadsheet (in Bytescout.Spreadsheet.dll) Version: 4.7.0.2045-master
Syntax
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.
See Also

Reference