FontCollection.Item

FontCollection indexer (1 of 2)

Gets the font element at the specified index.

public Font this[int index] { get; }
ParameterDescription
indexIndex within the collection.

Return Value

Font object.

See Also


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; }
ParameterDescription
nameName of the font.

Return Value

Found font.

See Also