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

Font Constructor (Font, UnitConverterObject)

Creates new Font class instance. This constructor copies font settings from given System.Drawing.Font class instance.

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

Syntax

Visual Basic
Public Sub New ( _
	font As Font, _
	unitConverter As UnitConverterObject _
)
C#
public Font(
	Font font,
	UnitConverterObject unitConverter
)

Parameters

font

Type: System.Drawing.Font

System.Drawing.Font class instance which is used to take settings from.
unitConverter

Type: Aurigma.GraphicsMill.UnitConverterObject

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

See Also

Reference