Export (0) Print
Expand All

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft