SystemInformation.GetVerticalScrollBarWidthForDpi(Int32) 方法

定義

針對指定的 DPI 值,取得垂直捲軸的預設高度 (以像素為單位)。

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

目前顯示裝置的 DPI 值。

傳回

垂直捲軸的預設高度 (以像素為單位)。

適用於