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)

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
Available since 2.0
Return to top
© 2015 Microsoft