次の方法で共有


IFontCollection インターフェイス

定義

フォントのコレクション。

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)
実装

拡張メソッド

AddCompatibilityFonts(IFontCollection, IFontRegistrar, Assembly[])

フォントのコレクション。

AddEmbeddedResourceFont(IFontCollection, Assembly, String, String)

の埋め込みリソースから にfilename指定されたフォントを にfontCollection追加し、 でalias指定されたオプションのフォント エイリアスを指定assemblyします。

AddFont(IFontCollection, String, String)

filename 指定されたフォントを に fontCollection追加します。オプションのフォント エイリアスは で alias指定します。

適用対象