{{< psd/tize >}}
## RasterImage.SetResolution method

Sets the resolution for this [`RasterImage`](../).

```csharp
public virtual void SetResolution(double dpiX, double dpiY)
```

| Parameter | Type | Description |
| --- | --- | --- |
| dpiX | Double | The horizontal resolution, in dots per inch, of the [`RasterImage`](../). |
| dpiY | Double | The vertical resolution, in dots per inch, of the [`RasterImage`](../). |

### See Also

* class [RasterImage](../)
* namespace [Aspose.PSD](../../../aspose.psd/)
* assembly [Aspose.PSD](../../../)


