Class SystemFonts
Gets standard system fonts.
public class SystemFonts
- Inheritance
-
SystemFonts
Properties
- AnsiFixed
Windows fixed-pitch (monospaced) font.
- AnsiVar
Windows variable-pitch (proportional) font.
- DefaultGui
Default font for user interface objects such as menus and dialog boxes. This is the same as Default.
- DefaultMono
Alias to DefaultMono.
- DeviceDefault
Device-dependent font.
- OemFixed
Original equipment manufacturer dependent fixed-pitch font.
- SansSerif
Gets generic "Sans serif" font.
- Serif
Gets generic "Serif" font.
- System
System font. By default, the system uses the system font to draw menus, dialog box controls, and text.
Methods
- CreateSystemFont(SystemSettingsFont)
Creates system font.
- GetFont(GenericFontFamily)
Gets font for the specified GenericFontFamily.
- GetFont(SystemSettingsFont)
Gets system font.
- SetFont(GenericFontFamily, Font)
Gets font for the specified GenericFontFamily.
- SetFont(SystemSettingsFont, Font)
Sets system font.