SystemInformation::GetHorizontalScrollBarHeightForDpi Method (Int32)

 

Gets the default height, in pixels, of the horizontal scroll bar for a given DPI value.

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

public:
static int GetHorizontalScrollBarHeightForDpi(
	int dpi
)

Parameters

dpi
Type: System::Int32

The DPI value for the current display device.

Return Value

Type: System::Int32

The default height, in pixels, of the horizontal scroll bar.

.NET Framework
Available since 4.7
Return to top
Show: