Aspose::Font::Cff::CffFont::GetGlyphById method

CffFont::GetGlyphById(System::SharedPtr<Aspose::Font::Glyphs::GlyphId>) method

Returns glyph by glyph id. Glyph id is a unique number for a glyph, which is font type dependent. CFF Font glyph id can be instance of (GlyphStringId) class or (GlyphUInt32Id) class.

System::SharedPtr<Aspose::Font::Glyphs::Glyph> Aspose::Font::Cff::CffFont::GetGlyphById(System::SharedPtr<Aspose::Font::Glyphs::GlyphId> id) override
ParameterTypeDescription
idSystem::SharedPtr<Aspose::Font::Glyphs::GlyphId>Glyph id.

ReturnValue

Glyph.

See Also

CffFont::GetGlyphById(System::String) method

Returns glyph by glyph name.

System::SharedPtr<Aspose::Font::Glyphs::Glyph> Aspose::Font::Cff::CffFont::GetGlyphById(System::String glyphName)
ParameterTypeDescription
glyphNameSystem::StringGlyph name.

ReturnValue

Glyph.

See Also

CffFont::GetGlyphById(uint32_t) method

Returns glyph by glyph id.

System::SharedPtr<Aspose::Font::Glyphs::Glyph> Aspose::Font::Cff::CffFont::GetGlyphById(uint32_t id)
ParameterTypeDescription
iduint32_tGlyph id.

ReturnValue

Glyph.

See Also