FontsSubsystem.LoadFontsFromFolder method

Loads all TrueType fonts from specified folder to internal collection.

public void LoadFontsFromFolder(string folder)
Parameter Type Description
folder String The folder containing fonts.


exception condition
NullReferenceException Parameter ‘folder’ is null or empty.
DirectoryNotFoundException There directory specified by folder does not exist.
InvalidDataException The file from folder does not contain TrueType font.

See Also