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

See Also