## CffEncoding.Encode method

Encodes the glyph. Not supported for CFF Font types.

```csharp
public void Encode(uint gid, uint charCode)
```

| Parameter | Type | Description |
| --- | --- | --- |
| gid | UInt32 | Glyph id. |
| charCode | UInt32 | CharCode associated with the glyph id. |

### See Also

* class [CffEncoding](../)
* namespace [Aspose.Font.Cff](../../../aspose.font.cff/)
* assembly [Aspose.Font](../../../)


