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

Font Constructor (Font, Single, Single)

Creates new Font class instance. This constructor copies font settings from given System.Drawing.Font class instance. You can also specify resolution here (necessary if you are using units other than Pixel).

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

Syntax

Visual Basic
Public Sub New ( _
	font As Font, _
	horizontalResolution As Single, _
	verticalResolution As Single _
)
C#
public Font(
	Font font,
	float horizontalResolution,
	float verticalResolution
)

Parameters

font

Type: System.Drawing.Font

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

Type: System.Single

Horizontal resolution (dots per inch - DPI). You can change this value later through property HorizontalResolution.
verticalResolution

Type: System.Single

Vertical resolution (dots per inch - DPI). You can change this value later through property VerticalResolution.

See Also

Reference