Aspose::Cells::FileFontSource class

FileFontSource class

Represents the single TrueType font file stored in the file system.

class FileFontSource : public Aspose::Cells::FontSourceBase

Methods

MethodDescription
explicit FileFontSource(const U16String& filePath)Ctor.
explicit FileFontSource(const char16_t* filePath)Ctor.
FileFontSource(FileFontSource_Impl* impl)Constructs from an implementation object.
FileFontSource(const FileFontSource& src)Copy constructor.
FileFontSource(const FontSourceBase& src)Constructs from a parent object.
FontSourceBase(FontSourceBase_Impl* impl)Constructs from an implementation object.
FontSourceBase(const FontSourceBase& src)Copy constructor.
GetFilePath()Path to font file.
virtual GetType()Returns the type of the font source.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const FileFontSource& src)operator=
operator=(const FontSourceBase& src)operator=
~FileFontSource()Destructor.
~FontSourceBase()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also