SystemInformation::GetMenuFontForDpi Method (Int32)

 

Gets the font used to display text on menus for use in changing the DPI for a given display device.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
static Font^ GetMenuFontForDpi(
	int dpi
)

Parameters

dpi
Type: System::Int32

The DPI value for the current display device.

Return Value

Type: System.Drawing::Font^

The Font used to display text on menus.

.NET Framework
Available since 4.7
Return to top
Show: