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)
Parameter | Type | Description |
---|---|---|
index | int32_t | Index within the collection. |
ReturnValue
Font object.
See Also
- Class Font
- Class FontCollection
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
name | System::String | Name of the font. |
ReturnValue
Found font.
See Also
- Class Font
- Class FontCollection
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++