public final class SystemFonts extends Object
Specifies the fonts used to display text in Windows display elements.
| Modifier and Type | Method and Description |
|---|---|
static Font |
getCaptionFont()
Gets a
Font that is used to display text in the title bars of windows. |
static Font |
getDefaultFont()
Gets the default font that applications can use for dialog boxes and forms.
|
static com.aspose.imaging.Font |
getDefaultImageFont()
Gets the default font that applications can use for dialog boxes and forms.
|
static Font |
getDialogFont()
Gets a font that applications can use for dialog boxes and forms.
|
static Font |
getFontByName(String systemFontName)
Returns a font object that corresponds to the specified system font name.
|
static Font |
getIconTitleFont()
Gets a
Font that is used for icon titles. |
static Font |
getMenuFont()
Gets a
Font that is used for menus. |
static Font |
getMessageBoxFont()
Gets a
Font that is used for message boxes. |
static Font |
getSmallCaptionFont()
Gets a
Font that is used to display text in the title bars of small windows, such as tool windows. |
static Font |
getStatusFont()
Gets a
Font that is used to display text in the status bar. |
public static Font getCaptionFont()
Gets a Font that is used to display text in the title bars of windows.
Font that is used to display text in the title bars of windows.public static Font getSmallCaptionFont()
Gets a Font that is used to display text in the title bars of small windows, such as tool windows.
Font that is used to display text in the title bars of small windows, such as tool windows.public static Font getMenuFont()
Gets a Font that is used for menus.
Font that is used for menus.public static Font getStatusFont()
Gets a Font that is used to display text in the status bar.
Font that is used to display text in the status bar.public static Font getMessageBoxFont()
Gets a Font that is used for message boxes.
Font that is used for message boxes.public static Font getIconTitleFont()
Gets a Font that is used for icon titles.
Font that is used for icon titles.public static Font getDefaultFont()
Gets the default font that applications can use for dialog boxes and forms.
Font of the system. The value returned will vary depending on the user's
operating system and the local culture setting of their system.public static com.aspose.imaging.Font getDefaultImageFont()
Gets the default font that applications can use for dialog boxes and forms.
Font of the system. The value returned will vary depending on the user's
operating system and the local culture setting of their system.public static Font getDialogFont()
Gets a font that applications can use for dialog boxes and forms.
Font that can be used for dialog boxes and forms, depending on the
operating system and local culture setting of the system.public static Font getFontByName(String systemFontName)
Returns a font object that corresponds to the specified system font name.
systemFontName - The name of the system font you need a font object for.Font if the specified name matches a value in SystemFonts;
otherwise, null.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.