Aspose::Font::Glyphs::IGlyphAccessor::GetGlyphById 方法

IGlyphAccessor::GetGlyphById method

根据字形 ID 返回字形。Glyph ID 是针对字形的唯一编号,取决于字体类型。GlyphId 是派生对象。例如:Type1 的 ID 是字形名称,属于 (GlyphStringId) 类的实例。TTF 的 ID 是整数索引,属于 (GlyphUInt32Id) 类的实例。

virtual System::SharedPtr<Glyph> Aspose::Font::Glyphs::IGlyphAccessor::GetGlyphById(System::SharedPtr<GlyphId> id)=0
参数类型描述
标识符System::SharedPtr<GlyphId>字形 ID。

ReturnValue

Glyph

另见