Aspose::Pdf::Text::FontCollection::idx_get metod
FontCollection::idx_get(const System::String&) method
Hämtar teckensnittet från samlingen med teckensnittets namn. Ett undantag kastas om teckensnittet inte hittas.
System::SharedPtr<Font> Aspose::Pdf::Text::FontCollection::idx_get(const System::String &name)
| Parameter | Typ | Beskrivning |
|---|---|---|
| namn | const System::String& | Namn på teckensnittet. |
ReturnValue
Hittat teckensnitt.
Se även
- Typedef SharedPtr
- Class Font
- Class String
- Class FontCollection
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++
FontCollection::idx_get(int32_t) method
Hämtar teckensnittselementet på det angivna indexet.
System::SharedPtr<Font> Aspose::Pdf::Text::FontCollection::idx_get(int32_t index)
| Parameter | Typ | Beskrivning |
|---|---|---|
| index | int32_t | Index inom samlingen. |
ReturnValue
Font object.
Se även
- Typedef SharedPtr
- Class Font
- Class FontCollection
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++