FontRegistrar.Register Method
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.
Overloads
Register(String, String) |
Registers a font in the app font cache. |
Register(String, String, Assembly) |
Registers a font in the app font cache. |
Register(String, String)
- Source:
- FontRegistrar.cs
- Source:
- FontRegistrar.cs
Registers a font in the app font cache.
public:
virtual void Register(System::String ^ filename, System::String ^ alias);
public void Register (string filename, string? alias);
abstract member Register : string * string -> unit
override this.Register : string * string -> unit
Public Sub Register (filename As String, alias As String)
Parameters
- filename
- String
The filename of the font to register.
- alias
- String
An optional alias with which you can also refer to this font.
Implements
Applies to
Register(String, String, Assembly)
- Source:
- FontRegistrar.cs
- Source:
- FontRegistrar.cs
Registers a font in the app font cache.
public:
virtual void Register(System::String ^ filename, System::String ^ alias, System::Reflection::Assembly ^ assembly);
public void Register (string filename, string? alias, System.Reflection.Assembly assembly);
abstract member Register : string * string * System.Reflection.Assembly -> unit
override this.Register : string * string * System.Reflection.Assembly -> unit
Public Sub Register (filename As String, alias As String, assembly As Assembly)
Parameters
- filename
- String
The filename of the font to register.
- alias
- String
An optional alias with which you can also refer to this font.
- assembly
- Assembly
The assembly (not used).
Implements
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.