SystemInformation.GetVerticalScrollBarWidthForDpi(Int32) SystemInformation.GetVerticalScrollBarWidthForDpi(Int32) SystemInformation.GetVerticalScrollBarWidthForDpi(Int32) SystemInformation.GetVerticalScrollBarWidthForDpi(Int32) Method

定义

获取给定 DPI 值的垂直滚动条的默认高度(以像素为单位)。Gets the default height, in pixels, of the vertical scroll bar for a given DPI value.

public:
 static int GetVerticalScrollBarWidthForDpi(int dpi);
public static int GetVerticalScrollBarWidthForDpi (int dpi);
static member GetVerticalScrollBarWidthForDpi : int -> int
Public Shared Function GetVerticalScrollBarWidthForDpi (dpi As Integer) As Integer

参数

dpi
Int32 Int32 Int32 Int32

当前显示设备的 DPI 值。The DPI value for the current display device.

返回

垂直滚动条的默认高度(以像素为单位)。The default height, in pixels, of the vertical scroll bar.

适用于