## PrivateFontCollection::AddFont method


Adds the specified font to the collection.

```cpp
void System::Drawing::Text::PrivateFontCollection::AddFont(const System::ArrayPtr<uint8_t> &data, int len)
```


| Parameter | Type | Description |
| --- | --- | --- |
| data | const System::ArrayPtr\<uint8_t\>\& | A byte array containing the font data |
| len | int | The size of the **data** buffer in bytes |

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [PrivateFontCollection](../)
* Namespace [System::Drawing::Text](../../)
* Library [Aspose.Page for C++](../../../)
