SystemInformation::GetBorderSizeForDpi Method (Int32)
Gets the thickness, in pixels, of a flat-style window or system control border for a given DPI value.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- dpi
-
Type:
System::Int32
The DPI value for the current display device.
Return Value
Type: System.Drawing::SizeA Size that indicates the width, in pixels, of a vertical border, and the height, in pixels, of a horizontal border.
.NET Framework
Available since 4.7
Available since 4.7
Show: