## FontsSubsystem.LoadFontsFromFolder method

Loads all TrueType fonts from specified folder to internal collection.

```csharp
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](../../fontssubsystem/)
* assembly [Aspose.Note](../../../)


