Aspose::Pdf::Text::FontCollection::idx_get method

FontCollection::idx_get(int32_t) method

Gets the font element at the specified index.

System::SharedPtr<Font> Aspose::Pdf::Text::FontCollection::idx_get(int32_t index)
ParameterTypeDescription
indexint32_tIndex within the collection.

ReturnValue

Font object.

See Also

FontCollection::idx_get(System::String) method

Gets font from the collection by font name. Exception is thrown if font was not found.

System::SharedPtr<Font> Aspose::Pdf::Text::FontCollection::idx_get(System::String name)
ParameterTypeDescription
nameSystem::StringName of the font.

ReturnValue

Found font.

See Also