CustomFontRegistry.AddFontAlias Method

Adds an extra postscript-name-like lookup key to an already-registered font.

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

Syntax

C#
public bool AddFontAlias(
	string postscriptName,
	string alias
)

Parameters

postscriptName

Type: System.String

The postscript name of an already-registered font.
alias

Type: System.String

The alias to register for that font.

Return Value

true if the alias was added; false if postscriptName does not resolve to any registered font.

Exceptions

Exception Condition
Aurigma.GraphicsMill.DuplicateFontAliasException alias already resolves to a different registered font.

See Also

Reference