Font.CreateSpecificFont Method

Returns a font with the requested name.

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

Syntax

C#
public static Font CreateSpecificFont(
	string fontName,
	bool postScriptName,
	float size
)

Parameters

fontName

Type: System..String

The name of the font installed on the computer.
postScriptName

Type: System..Boolean

true fontName is in the PostScript format; otherwise, false.
size

Type: System..Single

The size of the requested font.

Return Value

Thr requested font or null if no font with the specified name can be found.

See Also

Reference