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) |
Registers a font in the app font cache. |
Register(String, String, Assembly) |
Registers a font in the app font cache. |
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk