[]
Gets the DPI value for the display device where the control is currently being displayed.
protected virtual int GetDeviceDpi()
Protected Overridable Function GetDeviceDpi() As Integer
| Type | Description |
|---|---|
| int |
Returns system DPI for .Net 4.5.2 and Control.DeviceDpi for .Net 5 or highest.