FontCollection.Item
FontCollection indexer (1 of 2)
Gets the font element at the specified index.
public Font this[int index] { get; }
Parameter | Description |
---|---|
index | Index within the collection. |
Return Value
Font object.
See Also
- class Font
- class FontCollection
- namespace Aspose.Pdf.Text
- assembly Aspose.PDF
FontCollection indexer (2 of 2)
Gets font from the collection by font name. Exception is thrown if font was not found.
public Font this[string name] { get; }
Parameter | Description |
---|---|
name | Name of the font. |
Return Value
Found font.
See Also
- class Font
- class FontCollection
- namespace Aspose.Pdf.Text
- assembly Aspose.PDF