FontInfo::Name Property
.NET Framework (current version)
Gets or sets the primary font name.
Assembly: System.Web (in System.Web.dll)
public: [TypeConverterAttribute((FontConverter::FontNameConverter^::typeid))] property String^ Name { String^ get(); void set(String^ value); }
Property Value
Type: System::String^The primary font name. The default value is String::Empty, which indicates that this property is not set.
| Exception | Condition |
|---|---|
| ArgumentNullException | The specified font name is null. |
Use the Name property to specify or determine the primary font name. The primary font name determines the font that is used to display text in the control associated with the FontInfo.
.NET Framework
Available since 1.1
Available since 1.1
Show:
