GraphicsAddCustomFont Method

Adds custom font to allow its rendering.

Definition

Namespace: SMath.Drawing
Assembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.2.0
C#
public static bool AddCustomFont(
	string fontName,
	byte[] bytes
)

Parameters

fontName  String
Name of the font.
bytes  Byte
Content of the font in bytes.

Return Value

Boolean
Returns true if font was added, false otherwise.

See Also