FontRegistrar Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The IFontRegistrar keeps track of the fonts that are registered in our application.
public ref class FontRegistrar : Microsoft::Maui::IFontRegistrar
public class FontRegistrar : Microsoft.Maui.IFontRegistrar
type FontRegistrar = class
interface IFontRegistrar
Public Class FontRegistrar
Implements IFontRegistrar
- Inheritance
-
FontRegistrar
- Implements
Constructors
FontRegistrar(IEmbeddedFontLoader, IServiceProvider) |
Creates a new instance of FontRegistrar. |
Methods
GetFont(String) |
Retrieves the font for actual usages. |
Register(String, String, Assembly) |
Registers a font in the app font cache. |
Register(String, String) |
Registers a font in the app font cache. |
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.