Partager via


EmbeddedFontLoader Class

Definition

The IEmbeddedFontLoader is able to load a font from the embedded resources.

public ref class EmbeddedFontLoader : Microsoft::Maui::IEmbeddedFontLoader
public class EmbeddedFontLoader : Microsoft.Maui.IEmbeddedFontLoader
type EmbeddedFontLoader = class
    interface IEmbeddedFontLoader
Public Class EmbeddedFontLoader
Implements IEmbeddedFontLoader
Inheritance
EmbeddedFontLoader
Implements

Constructors

EmbeddedFontLoader()

Creates a new EmbeddedFontLoader instance.

EmbeddedFontLoader(IServiceProvider)

Creates a new EmbeddedFontLoader instance.

Methods

LoadFont(EmbeddedFont)

Load the font from the embedded resources.

Applies to