MemoryFontSource class
MemoryFontSource class
Represents the single TrueType font file stored in memory. To learn more, visit the Working with Fonts documentation article.
Inheritance: MemoryFontSource → FontSourceBase
Constructors
| Name | Description | 
|---|---|
| MemoryFontSource(fontData) | Ctor. | 
| MemoryFontSource(fontData, priority) | Ctor. | 
| MemoryFontSource(fontData, priority, cacheKey) | Ctor. | 
Properties
| Name | Description | 
|---|---|
| cacheKey | The key of this source in the cache. | 
| fontData | Binary font data. | 
| priority | Returns the font source priority. (Inherited from FontSourceBase)  | 
| type | Returns the type of the font source. | 
Methods
| Name | Description | 
|---|---|
| asFileFontSource() | Cast FontSourceBase object to FileFontSource. (Inherited from FontSourceBase)  | 
| asFolderFontSource() | Cast FontSourceBase object to FolderFontSource. (Inherited from FontSourceBase)  | 
| asMemoryFontSource() | Cast FontSourceBase object to MemoryFontSource. (Inherited from FontSourceBase)  | 
| asStreamFontSource() | Cast FontSourceBase object to StreamFontSource. (Inherited from FontSourceBase)  | 
| asSystemFontSource() | Cast FontSourceBase object to SystemFontSource. (Inherited from FontSourceBase)  | 
See Also
- module Aspose.Words.Fonts
 - class FontSourceBase