TtfFont.GetGlyphComponentsById
GetGlyphComponentsById(GlyphId, GlyphIdList)
Gets a glyph by glyph identifier passed and fills passed list of glyph identifiers with components of this glyph. Glyph id is a unique number for a glyph, which is font type dependent. TTF Font glyph id can be instance of (GlyphStringId
) class or (GlyphUInt32Id
) class. Name (string) glyph addressing is supported for TTF Fonts via Post table mapping. In case CFF Font inside, the CFF structures are used to address glyphs by name.
public virtual void GetGlyphComponentsById(GlyphId id, GlyphIdList componentsToPopulate)
Parameter | Type | Description |
---|---|---|
id | GlyphId | Glyph id. |
componentsToPopulate | GlyphIdList | List of glyph identifiers to fill. |
Remarks
Empty collection componentsToPopulate should be passed that will contain glyph components id list.
See Also
- class GlyphId
- class GlyphIdList
- class TtfFont
- namespace Aspose.Font.Ttf
- assembly Aspose.Font
GetGlyphComponentsById(string, GlyphIdList)
Gets a glyph by glyph name passed and fills passed list of glyph identifiers with components of this glyph.
public void GetGlyphComponentsById(string glyphName, GlyphIdList componentsToPopulate)
Parameter | Type | Description |
---|---|---|
glyphName | String | Glyph name. |
componentsToPopulate | GlyphIdList | List of glyph identifiers to fill. |
Remarks
Empty collection componentsToPopulate should be passed that will contain glyph components id list.
See Also
- class GlyphIdList
- class TtfFont
- namespace Aspose.Font.Ttf
- assembly Aspose.Font
GetGlyphComponentsById(uint, GlyphIdList)
Gets a glyph by glyph index passed and fills passed list of glyph identifiers with components of this glyph.
public void GetGlyphComponentsById(uint id, GlyphIdList componentsToPopulate)
Parameter | Type | Description |
---|---|---|
id | UInt32 | Glyph index. |
componentsToPopulate | GlyphIdList | List of glyph identifiers to fill. |
Remarks
Empty collection componentsToPopulate should be passed that will contain glyph components id list.
See Also
- class GlyphIdList
- class TtfFont
- namespace Aspose.Font.Ttf
- assembly Aspose.Font