FontsSubsystem.LoadFontsFromFolder

FontsSubsystem.LoadFontsFromFolder method

Loads all TrueType fonts from specified folder to internal collection.

public void LoadFontsFromFolder(string folder)
ParameterTypeDescription
folderStringThe folder containing fonts.

Exceptions

exceptioncondition
NullReferenceExceptionParameter ‘folder’ is null or empty.
DirectoryNotFoundExceptionThere directory specified by folder does not exist.
InvalidDataExceptionThe file from folder does not contain TrueType font.

See Also