• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class FontFaceCollection

An ordered collection of font faces loaded from a font collection file (e.g. TTC).

Inheritance
object
FontFaceCollection
Implements
IReadOnlyList<IFont>
IReadOnlyCollection<IFont>
IEnumerable<IFont>
IEnumerable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DRIT.Drawing.Font.Core
Assembly: DRIT.Drawing.dll
Syntax
public sealed class FontFaceCollection : IReadOnlyList<IFont>, IReadOnlyCollection<IFont>, IEnumerable<IFont>, IEnumerable

Constructors

FontFaceCollection(IReadOnlyList<IFont>)

Initializes a new FontFaceCollection from the specified list of fonts.

Declaration
public FontFaceCollection(IReadOnlyList<IFont> fonts)
Parameters
Type Name Description
IReadOnlyList<IFont> fonts

The list of fonts in the collection.

Properties

Count

An ordered collection of font faces loaded from a font collection file (e.g. TTC).

Declaration
public int Count { get; }
Property Value
Type Description
int

this[int]

Gets the font face at the specified zero-based index.

Declaration
public IFont this[int index] { get; }
Parameters
Type Name Description
int index

The zero-based index of the font face to retrieve.

Property Value
Type Description
IFont

The font face at index.

Methods

GetEnumerator()

An ordered collection of font faces loaded from a font collection file (e.g. TTC).

Declaration
public IEnumerator<IFont> GetEnumerator()
Returns
Type Description
IEnumerator<IFont>

Implements

IReadOnlyList<T>
IReadOnlyCollection<T>
IEnumerable<T>
IEnumerable
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX