## Bitmap.SetResolution method

Sets the resolution for this Bitmap.

```csharp
public void SetResolution(float xDpi, float yDpi)
```

| Parameter | Type | Description |
| --- | --- | --- |
| xDpi | Single | The horizontal resolution, in dots per inch, of the Bitmap. |
| yDpi | Single | The vertical resolution, in dots per inch, of the Bitmap. |

### See Also

* class [Bitmap](../)
* namespace [System.Drawing](../../bitmap/)
* assembly [Aspose.Drawing](../../../)


