## Type1Encoding.Encode method

Encodes the glyph. For TTF Fonts the character code is unicode. Not supported for Type1 Font types.

```csharp
public void Encode(uint gid, uint charCode)
```

| Parameter | Type | Description |
| --- | --- | --- |
| gid | UInt32 | Glyph id. |
| charCode | UInt32 | Character code associated with the glyph id. |

### See Also

* class [Type1Encoding](../)
* namespace [Aspose.Font.Type1](../../../aspose.font.type1/)
* assembly [Aspose.Font](../../../)


