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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.