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(System::SharedPtr<Font> newFont, System::String &resName)
Parameter | Type | Description |
---|---|---|
newFont | System::SharedPtr<Font> | Font object. |
resName | System::String& | The automatically assigned resource item name. |
See Also
- Class Font
- Class FontCollection
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++