SystemInformation.GetVerticalScrollBarWidthForDpi(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- dpi
- Int32
The DPI value for the current display device.
Returns
The default height, in pixels, of the vertical scroll bar.
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.