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

Font Constructor (String, Single, UnitConverterObject)

Creates new Font class instance. Here you can specify font typeface name and its size.

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

Syntax

Visual Basic
Public Sub New ( _
	familyName As String, _
	size As Single, _
	unitConverter As UnitConverterObject _
)
C#
public Font(
	string familyName,
	float size,
	UnitConverterObject unitConverter
)

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.
unitConverter

Type: Aurigma.GraphicsMill.UnitConverterObject

A UnitConverterObject descendant class which is used to grab resolution (DPI) and unit.

See Also

Reference