Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public:
[BrowsableAttribute(false)]
property int DeviceDpi {
	int get();
}

Property Value

Type: System::Int32

The DPI value of the display device.

.NET Framework
Available since 4.7
Return to top
Show: