| Visual Basic (Declaration) | |
|---|---|
Public Property XResolution As Integer  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
 | |
| C# | |
|---|---|
public int XResolution {get; set;}  | |
Return Value
Horizontal resolution in dots per inch (DPI).For an example, refer to RasterImage. 
Some file formats save this value in the file header.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family