
## FontSourceBase class

This is an abstract base class for the classes that allow the user to specify various font sources.
To learn more, visit the [Working with Fonts](https://docs.aspose.com/words/nodejs-net/working-with-fonts/) documentation article.




### Properties

| Name | Description |
| --- | --- |
| [priority](./priority/) | Returns the font source priority. |
| [type](./type/) | Returns the type of the font source. |

### Methods

| Name | Description |
| --- | --- |
|[ asFileFontSource()](./asFileFontSource/#default) | Cast [FontSourceBase](./) object to [FileFontSource](../filefontsource/). |
|[ asFolderFontSource()](./asFolderFontSource/#default) | Cast [FontSourceBase](./) object to [FolderFontSource](../folderfontsource/). |
|[ asMemoryFontSource()](./asMemoryFontSource/#default) | Cast [FontSourceBase](./) object to [MemoryFontSource](../memoryfontsource/). |
|[ asStreamFontSource()](./asStreamFontSource/#default) | Cast [FontSourceBase](./) object to [StreamFontSource](../streamfontsource/). |
|[ asSystemFontSource()](./asSystemFontSource/#default) | Cast [FontSourceBase](./) object to [SystemFontSource](../systemfontsource/). |

### See Also

* module [Aspose.Words.Fonts](../)

