Graphics.CreateFont Method (String, Single)

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

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

Syntax

C#
public Font CreateFont(
	string postScriptName,
	float size
)

Parameters

postScriptName

Type: System.String

Postscript name of a font.
size

Type: System.Single

Font size.

Return Value

Font having the given parameters.

Remarks

The font's DPI is the same as the DPI of the Graphics.

See Also

Reference

Manual