This documentation is for the old version. Go to the latest Graphics Mill docs

Font Constructor (String, Single, Boolean, Boolean)

Creates new Font class instance. Here you can specify font typeface name, its size, and if font should be bold and/or italic.

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

Syntax

Visual Basic
Public Sub New ( _
	familyName As String, _
	size As Single, _
	bold As Boolean, _
	italic As Boolean _
)
C#
public Font(
	string familyName,
	float size,
	bool bold,
	bool italic
)

Parameters

familyName

Type: System.String

Font typeface name. You can change this value later through property Name.
size

Type: System.Single

Font size. You can change this value later through property Size.
bold

Type: System.Boolean

Value specifying if font should be bold. You can change this value later through property Bold.
italic

Type: System.Boolean

Value specifying if font should be italic. You can change this value later through property Italic.

See Also

Reference