Aspose::Font::Sources::FontDefinition 类

FontDefinition class

表示 Font 文件集定义。此类包含与字体内部数据无关的字段。这些字段描述字体的放置位置以及从某些字体源(文件、内存等)加载字体所需的其他数据。

class FontDefinition : public System::Object

方法

方法描述
FontDefinition(Aspose::Font::FontType, System::String, System::SharedPtr<StreamSource>)创建单文件 Font 定义。
FontDefinition(Aspose::Font::FontType, System::SharedPtr<StreamSource>)创建单文件 Font 定义。
FontDefinition(System::String, Aspose::Font::FontType, System::String, System::SharedPtr<StreamSource>)创建单文件 Font 定义。
FontDefinition(Aspose::Font::FontType, System::SharedPtr<FontFileDefinition>)创建单文件 Font 定义。
FontDefinition(System::String, Aspose::Font::FontType, System::SharedPtr<FontFileDefinition>)创建单文件 Font 定义。
FontDefinition(System::String, System::String, Aspose::Font::FontType, System::SharedPtr<FontFileDefinition>)创建单文件 Font 定义。
FontDefinition(Aspose::Font::FontType, System::ArrayPtr<System::SharedPtr<FontFileDefinition>>)创建多文件 Font 定义。
FontDefinition(System::String, System::String, Aspose::Font::FontType, System::ArrayPtr<System::SharedPtr<FontFileDefinition>>)创建多文件 Font 定义。
FontDefinition(System::SharedPtr<MultiLanguageString>, System::SharedPtr<MultiLanguageString>, Aspose::Font::FontType, System::SharedPtr<FontFileDefinition>)创建多文件 Font 定义。
FontDefinition(System::SharedPtr<MultiLanguageString>, System::SharedPtr<MultiLanguageString>, Aspose::Font::FontType, System::ArrayPtr<System::SharedPtr<FontFileDefinition>>)创建多文件 Font 定义。
get_FileDefinitions() const获取文件定义集合。
virtual get_FontName()返回 Font 名称。
virtual get_FontNames()获取 Font 名称作为 MultiLanguageString
get_FontType() const获取 Font 类型。
virtual get_PostscriptName()获取 PostScript Font 名称。
get_PostscriptNames() const获取 PostScript Font 名称作为 MultiLanguageString
static Open(System::String, Aspose::Font::FontType)返回针对字体文件和字体类型的 FontDefinition
static Open(System::SharedPtr<StreamSource>, Aspose::Font::FontType)返回针对字体流源和字体类型的 FontDefinition

另见