AddFontCollection Method
Add a font collection to the manager.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public void AddFontCollection(
IFontCollection fontCollection
)
Public Sub AddFontCollection (
fontCollection As IFontCollection
)
member AddFontCollection :
fontCollection : IFontCollection -> unit
Parameters
- IFontCollection
- The font collection.
Remarks
If a font collection's key is already present the collection is replaced.
Exceptions
ArgumentException |