Method GetDPI
GetDPI()
Returns the DPI of the display used by this control.
public virtual SizeD GetDPI()
Returns
- SizeD
A Size value that represents DPI of the display used by this control. If the DPI is not available, returns Size(0,0) object.
Remarks
The returned value is different for different windows on systems with support for per-monitor DPI values, such as Microsoft Windows.