Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SystemFontName Property

Font.SystemFontName Property

Gets the name of the system font if the IsSystemFont property returns true.

Namespace:  System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

[BrowsableAttribute(false)]
public string SystemFontName { get; }

Property Value

Type: System.String
The name of the system font, if IsSystemFont returns true; otherwise, an empty string ("").

The name returned by the SystemFontName property will be one of the members of the SystemFonts, converted to a string.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft