Font Constructor (String, Single, Boolean, Boolean)

Initializes a new instance of the Font class using the specified font name, size, and values indicating whether it should be bold and/or italic.

Namespace: Aurigma.GraphicsMill.Drawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public Font(
	string familyName,
	float size,
	bool bold,
	bool italic
)

Parameters

familyName

Type: System.String

The font typeface name. You can change this value later through the Name property.
size

Type: System.Single

The font size. You can change this value later through the Size property.
bold

Type: System.Boolean

true if the font is bold; otherwise, false. You can change this value later through the Bold property.
italic

Type: System.Boolean

true if the font is italic; otherwise, false. You can change this value later through the Italic property.

See Also

Reference