Share via


IFontCollection Interface

Definition

A collection of fonts.

public interface class IFontCollection : System::Collections::Generic::ICollection<Microsoft::Maui::Hosting::FontDescriptor ^>, System::Collections::Generic::IEnumerable<Microsoft::Maui::Hosting::FontDescriptor ^>, System::Collections::Generic::IList<Microsoft::Maui::Hosting::FontDescriptor ^>
public interface IFontCollection : System.Collections.Generic.ICollection<Microsoft.Maui.Hosting.FontDescriptor>, System.Collections.Generic.IEnumerable<Microsoft.Maui.Hosting.FontDescriptor>, System.Collections.Generic.IList<Microsoft.Maui.Hosting.FontDescriptor>
type IFontCollection = interface
    interface IList<FontDescriptor>
    interface ICollection<FontDescriptor>
    interface seq<FontDescriptor>
    interface IEnumerable
Public Interface IFontCollection
Implements ICollection(Of FontDescriptor), IEnumerable(Of FontDescriptor), IList(Of FontDescriptor)
Implements

Extension Methods

AddCompatibilityFonts(IFontCollection, IFontRegistrar, Assembly[])
AddEmbeddedResourceFont(IFontCollection, Assembly, String, String)

Adds the font specified in filename from an embedded resource in assembly to the fontCollection, with an optional font alias specified in alias.

AddFont(IFontCollection, String, String)

Adds the font specified in filename to the fontCollection, with an optional font alias specified in alias.

Applies to