This documentation is archived and is not being maintained.

Graphics.DpiX Property

Gets the horizontal resolution of this Graphics object.

[Visual Basic]
Public ReadOnly Property DpiX As Single
[C#]
public float DpiX {get;}
[C++]
public: __property float get_DpiX();
[JScript]
public function get DpiX() : float;

Property Value

This property indicates a value, in dots per inch, for the horizontal resolution supported by this Graphics object.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Graphics Class | Graphics Members | System.Drawing Namespace

Show: