Aspose::Pdf::Text::FontCollection::Add method
FontCollection::Add method
Adds new font to font resources and returns automatically assigned name of font resource.
void Aspose::Pdf::Text::FontCollection::Add(const System::SharedPtr<Font> &newFont, System::String &resName)
| Parameter | Type | Description |
|---|---|---|
| newFont | const System::SharedPtr<Font>& | Font object. |
| resName | System::String& | The automatically assigned resource item name. |
See Also
- Typedef SharedPtr
- Class Font
- Class String
- Class FontCollection
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++