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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET MAUI