## MemoryFontSource class


Represents the single TrueType font file stored in memory.

```cpp
class MemoryFontSource : public Aspose::Cells::FontSourceBase
```

## Methods

| Method | Description |
| --- | --- |
| [FontSourceBase(FontSourceBase_Impl* impl)](../fontsourcebase/fontsourcebase/) | Constructs from an implementation object. |
| [FontSourceBase(const FontSourceBase\& src)](../fontsourcebase/fontsourcebase/) | Copy constructor. |
| [GetFontData()](./getfontdata/) | Binary font data. |
| virtual [GetType()](./gettype/) | Returns the type of the font source. |
| [IsNull()](./isnull/) const | Checks whether the implementation object is nullptr. |
| explicit [MemoryFontSource(const Vector \<uint8_t\>\& fontData)](./memoryfontsource/) | Ctor. |
| [MemoryFontSource(MemoryFontSource_Impl* impl)](./memoryfontsource/) | Constructs from an implementation object. |
| [MemoryFontSource(const MemoryFontSource\& src)](./memoryfontsource/) | Copy constructor. |
| [MemoryFontSource(const FontSourceBase\& src)](./memoryfontsource/) | Constructs from a parent object. |
| explicit [operator bool()](./operator_bool/) const | operator bool() |
| [operator=(const MemoryFontSource\& src)](./operator_asm/) | operator= |
| [operator=(const FontSourceBase\& src)](../fontsourcebase/operator_asm/) | operator= |
| [~FontSourceBase()](../fontsourcebase/~fontsourcebase/) | Destructor. |
| [~MemoryFontSource()](./~memoryfontsource/) | Destructor. |
## Fields

| Field | Description |
| --- | --- |
| [_impl](./_impl/) | The implementation object. |
## See Also

* Class [FontSourceBase](../fontsourcebase/)
* Namespace [Aspose::Cells](../)
* Library [Aspose.Cells for C++](../../)
