SystemInformation.GetHorizontalScrollBarArrowWidthForDpi(Int32) Method

Definition

Gets the width of the horizontal scroll bar arrow bitmap in pixels.

C#
public static int GetHorizontalScrollBarArrowWidthForDpi(int dpi);

Parameters

dpi
Int32

The DPI value for the current display device.

Returns

The default width, in pixels, of the horizontal scroll bar arrow.

Applies to

Produkt Verzie
.NET Framework 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10