Gets and sets the horizontal display resolution in dots per inch.
Syntax
Visual Basic (Declaration) | |
---|
Public Property XResolution As Integer |
C# | |
---|
public int XResolution {get; set;} |
C++/CLI | |
---|
public:
property int XResolution {
int get();
void set ( int value);
} |
Property Value
The horizontal display resolution in dots per inch (dpi). The default value is 96 dpi.
Example
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also