SystemFonts

System.Drawing.SystemFonts

Namespace: System.Drawing

Assembly: System.Drawing.Managed (4.0.0.0)

Specifies the fonts used to display text in Windows display elements.

public class SystemFonts

Properties

CaptionFont

Font: Gets a Font that is used to display text in the title bars of windows.

DefaultFont

Font: Gets the default font that applications can use for dialog boxes and forms.

DialogFont

Font: Gets a font that applications can use for dialog boxes and forms.

IconTitleFont

Font: Gets a Font that is used for icon titles.

Font: Gets a Font that is used for menus.

MessageBoxFont

Font: Gets a Font that is used for message boxes.

SmallCaptionFont

Font: Gets a Font that is used to display text in the title bars of small windows, such as tool windows.

StatusFont

Font: Gets a Font that is used to display text in the status bar.

Methods

GetFontByName(systemFontName)

Returns a font object that corresponds to the specified system font name.

Parameter
Type
Description

systemFontName

The name of the system font you need a font object for.

Returns: Font. A Font if the specified name matches a value in SystemFonts; otherwise, .

Last updated

Was this helpful?