Control.DeviceDpi Property

 

Gets the DPI value for the display device where the control is currently being displayed.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[<BrowsableAttribute(false)>]
member DeviceDpi : int with get

Property Value

Type: System.Int32

The DPI value of the display device.

.NET Framework
Available since 4.7
Return to top
Show: