## TtfEncoding::UnicodeToGid method


Decodes a unicode and returns glyph id.

```cpp
System::SharedPtr<Glyphs::GlyphId> Aspose::Font::Ttf::TtfEncoding::UnicodeToGid(uint32_t unicode) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| unicode | uint32_t | Unicode to get glyph identifier for. |

### ReturnValue

Glyph identifier related to unicode passed.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [GlyphId](../../../aspose.font.glyphs/glyphid/)
* Class [TtfEncoding](../)
* Namespace [Aspose::Font::Ttf](../../)
* Library [Aspose.Font for C++](../../../)
