FontRegistry.CreateFont Method (String, Single, Single, Single)

Returns the Font instance with the given postscript name, size, and DPI, if such font is presented in the FontRegistry.

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

Syntax

C#
public Font CreateFont(
	string postscriptName,
	float size,
	float dpiX,
	float dpiY
)

Parameters

postscriptName

Type: System.String

Postscript name of a font.
size

Type: System.Single

Font size.
dpiX

Type: System.Single

Horizontal resolution of the font's glyphs in DPI.
dpiY

Type: System.Single

Vertical resolution of the font's glyphs in DPI.

Return Value

Font having the given parameters.

See Also

Reference

Manual