Aspose::Cells::MemoryFontSource class

MemoryFontSource class

Represents the single TrueType font file stored in memory.

class MemoryFontSource : public Aspose::Cells::FontSourceBase

Methods

MethodDescription
FontSourceBase(FontSourceBase_Impl* impl)Constructs from an implementation object.
FontSourceBase(const FontSourceBase& src)Copy constructor.
GetFontData()Binary font data.
virtual GetType()Returns the type of the font source.
IsNull() constChecks whether the implementation object is nullptr.
explicit MemoryFontSource(const Vector <uint8_t>& fontData)Ctor.
MemoryFontSource(MemoryFontSource_Impl* impl)Constructs from an implementation object.
MemoryFontSource(const MemoryFontSource& src)Copy constructor.
MemoryFontSource(const FontSourceBase& src)Constructs from a parent object.
explicit operator bool() constoperator bool()
operator=(const MemoryFontSource& src)operator=
operator=(const FontSourceBase& src)operator=
~FontSourceBase()Destructor.
~MemoryFontSource()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also