ExportFontAttribute 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.
Registers a font file for use in the application.
public ref class ExportFontAttribute : Attribute
[Microsoft.Maui.Controls.Internals.Preserve(AllMembers=true)]
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public class ExportFontAttribute : Attribute
[<Microsoft.Maui.Controls.Internals.Preserve(AllMembers=true)>]
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type ExportFontAttribute = class
inherit Attribute
Public Class ExportFontAttribute
Inherits Attribute
- Inheritance
-
ExportFontAttribute
- Attributes
Constructors
| Name | Description |
|---|---|
| ExportFontAttribute(String) |
Creates a new ExportFontAttribute for the specified font file. |
Properties
| Name | Description |
|---|---|
| Alias |
Gets or sets an optional alias used to reference the font. |
| FontFileName |
Gets the font file name. |