FontFamily Constructor (String^)
.NET Framework (current version)
Initializes a new FontFamily with the specified name.
Assembly: System.Drawing (in System.Drawing.dll)
Parameters
- name
-
Type:
System::String^
The name of the new FontFamily.
| Exception | Condition |
|---|---|
| ArgumentException | name is an empty string (""). -or- name specifies a font that is not installed on the computer running the application. -or- name specifies a font that is not a TrueType font. |
Passing empty string ("") for the name parameter causes an exception.
.NET Framework
Available since 1.1
Available since 1.1
Show: