## PrinterResolution.X property

Gets or sets the horizontal printer resolution, in dots per inch.

```csharp
public int X { get; set; }
```

### Return Value

The horizontal printer resolution, in dots per inch, if !:Kind is set to !:PrinterResolutionKind.Custom; otherwise, a dmPrintQuality value.

### See Also

* class [PrinterResolution](../)
* namespace [System.Drawing.Printing](../../printerresolution/)
* assembly [Aspose.Drawing](../../../)


