SystemInformation.GetHorizontalScrollBarHeightForDpi(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 horizontal scroll bar for a given DPI value.
public:
static int GetHorizontalScrollBarHeightForDpi(int dpi);
public static int GetHorizontalScrollBarHeightForDpi (int dpi);
static member GetHorizontalScrollBarHeightForDpi : int -> int
Public Shared Function GetHorizontalScrollBarHeightForDpi (dpi As Integer) As Integer
Parameters
- dpi
- Int32
The DPI value for the current display device.
Returns
The default height, in pixels, of the horizontal scroll bar.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.