Aspose::Font::Sources::FontDefinition class

FontDefinition class

Represents Font file set definition. This class contains fields which are not related to font internal data. These fields describe font placement and another data needed to load font from some font source(file, memory, etc).

class FontDefinition : public System::Object

Methods

MethodDescription
FontDefinition(Aspose::Font::FontType, System::String, System::SharedPtr<StreamSource>)Creates single-file Font definition.
FontDefinition(Aspose::Font::FontType, System::SharedPtr<StreamSource>)Creates single-file Font definition.
FontDefinition(System::String, Aspose::Font::FontType, System::String, System::SharedPtr<StreamSource>)Creates single-file Font definition.
FontDefinition(Aspose::Font::FontType, System::SharedPtr<FontFileDefinition>)Creates single-file Font definition.
FontDefinition(System::String, Aspose::Font::FontType, System::SharedPtr<FontFileDefinition>)Creates single-file Font definition.
FontDefinition(System::String, System::String, Aspose::Font::FontType, System::SharedPtr<FontFileDefinition>)Creates single-file Font definition.
FontDefinition(Aspose::Font::FontType, System::ArrayPtr<System::SharedPtr<FontFileDefinition>>)Creates multi-file Font definition.
FontDefinition(System::String, System::String, Aspose::Font::FontType, System::ArrayPtr<System::SharedPtr<FontFileDefinition>>)Creates multi-file Font definition.
FontDefinition(System::SharedPtr<MultiLanguageString>, System::SharedPtr<MultiLanguageString>, Aspose::Font::FontType, System::SharedPtr<FontFileDefinition>)Creates multi-file Font definition.
FontDefinition(System::SharedPtr<MultiLanguageString>, System::SharedPtr<MultiLanguageString>, Aspose::Font::FontType, System::ArrayPtr<System::SharedPtr<FontFileDefinition>>)Creates multi-file Font definition.
get_FileDefinitions() constGets file definitions collection.
virtual get_FontName()Returns Font name.
virtual get_FontNames()Gets Font names as a MultiLanguageString.
get_FontType() constGets Font type.
virtual get_PostscriptName()Gets postscript Font name.
get_PostscriptNames() constGets postscript Font names as a MultiLanguageString.
static Open(System::String, Aspose::Font::FontType)Returns FontDefinition for font file and font type.
static Open(System::SharedPtr<StreamSource>, Aspose::Font::FontType)Returns FontDefinition for font stream source and font type.

See Also