Aspose::Pdf::Text::FontCollection::idx_get method
FontCollection::idx_get(const 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(const System::String &name)
| Parameter | Type | Description |
|---|---|---|
| name | const System::String& | Name of the font. |
ReturnValue
Found font.
See Also
- Typedef SharedPtr
- Class Font
- Class String
- Class FontCollection
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++
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
- Typedef SharedPtr
- Class Font
- Class FontCollection
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++