Returns a font with the requested name.

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

Syntax

Visual Basic

Public Shared Function CreateSpecificFont ( _
	fontName As String, _
	postScriptName As Boolean, _
	size As Single _
) As Font

C#

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

Parameters

fontName

Type: System..::.String

Name of the font installed on the computer.
postScriptName

Type: System..::.Boolean

A value that specifies if fontName is in the PostScript format.
size

Type: System..::.Single

Size of the requested font.

Return Value

Requested font or null if no font with the fontName name can be found.