FontsSubsystem.LoadFontsFromFolder
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. |
Exceptions
| 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
- class FontsSubsystem
- namespace Aspose.Note.Fonts
- assembly Aspose.Note