Load a font from file.
Syntax

[C#]

static string FontLoad(string inPath);

[Visual Basic]

Shared Function FontLoad(inPath As String) As String
Params
Name Description
inPath The path to the font.
return The name of the font or null if no font was available.
Notes

By default ImageGlue loads fonts from the Windows Fonts folder at application startup. Using this method you can dynamically load new TrueType, OpenType or Type1 fonts. Note that fonts are held on a global basis and ImageGlue assumes that the font file will remain accessible. So if you wish to delete or remove a font file you should first unload the font.

See Also

FontUnload

Example

None.