**Inheritance:**
java.lang.Object, com.aspose.pdf.printing.PdfPrinterResolution

```
public class PdfPrinterResolution extends Object
```

Represents the resolution supported by a printer.

## Constructors

| Constructor | Description |
| --- | --- |
| [PdfPrinterResolution](#PdfPrinterResolution--) | Initializes a new instance of the PrinterResolution class. |

## Methods

| Method | Description |
| --- | --- |
| [getKind](#getKind--) | sets the printer resolution. |
| [getX](#getX--) | Gets the horizontal printer resolution, in dots per inch. |
| [getY](#getY--) | Gets the vertical printer resolution, in dots per inch. |
| [setKind](#setKind-int-) | Gets or sets the printer resolution. |
| [setX](#setX-int-) | Sets the horizontal printer resolution, in dots per inch. |
| [setY](#setY-int-) | Sets the vertical printer resolution, in dots per inch. |

### PdfPrinterResolution {#PdfPrinterResolution--}
```
public PdfPrinterResolution()
```

Initializes a new instance of the PrinterResolution class.

### getKind {#getKind--}
```
public int getKind()
```

sets the printer resolution.

**Returns:**
PdfPrinterResolutionKind element @see PdfPrinterResolutionKind

### getX {#getX--}
```
public int getX()
```

Gets the horizontal printer resolution, in dots per inch.

**Returns:**
int value

### getY {#getY--}
```
public int getY()
```

Gets the vertical printer resolution, in dots per inch.

**Returns:**
int value

### setKind {#setKind-int-}
```
public void setKind(int value)
```

Gets or sets the printer resolution.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  | PdfPrinterResolutionKind element @see PdfPrinterResolutionKind |

### setX {#setX-int-}
```
public void setX(int value)
```

Sets the horizontal printer resolution, in dots per inch.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  | int value |

### setY {#setY-int-}
```
public void setY(int value)
```

Sets the vertical printer resolution, in dots per inch.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  | int value |
