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)
ParameterTypeDescription
newFontconst System::SharedPtr<Font>&Font object.
resNameSystem::String&The automatically assigned resource item name.

See Also