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

Font Constructor (String, Single, Single, Single)

Creates new Font class instance. Here you can specify font typeface name and its size. 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 ( _
	familyName As String, _
	size As Single, _
	horizontalResolution As Single, _
	verticalResolution As Single _
)
C#
public Font(
	string familyName,
	float size,
	float horizontalResolution,
	float verticalResolution
)

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