Skip to main content

AddFontCollection Method

Add a font collection to the manager.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public void AddFontCollection(
IFontCollection fontCollection
)

Parameters

  IFontCollection
The font collection.

Remarks

If a font collection's key is already present the collection is replaced.

Exceptions

ArgumentException

See Also

Reference

FontManager Class
Avalonia.Media Namespace