GraphicsAddCustomFont Method
Adds custom font to allow its rendering.
Namespace: SMath.DrawingAssembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.2.0
public static bool AddCustomFont(
string fontName,
byte[] bytes
)
Public Shared Function AddCustomFont (
fontName As String,
bytes As Byte()
) As Boolean
public:
static bool AddCustomFont(
String^ fontName,
array<unsigned char>^ bytes
)
static member AddCustomFont :
fontName : string *
bytes : byte[] -> bool
- fontName String
- Name of the font.
- bytes Byte
- Content of the font in bytes.
BooleanReturns true if font was added, false otherwise.