---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/Resolution
---

# Resolution

## Overview

`Resolution` is a class in Aspose.PDF FOSS for .NET.

Represents the resolution (DPI) for device rendering and image placement.

This class provides 3 methods for working with Resolution objects in .NET programs.
Available methods include: `Resolution`, `ToString`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `X`, `Y`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `X` | `int` | Read/Write | Horizontal resolution in DPI. |
| `Y` | `int` | Read/Write | Vertical resolution in DPI. |

## Methods

| Signature | Description |
|-----------|-------------|
| `Resolution(value: int)` | Calls Resolution on this Resolution instance. |
| `Resolution(valueX: int, valueY: int)` |  |
| `ToString()` | Calls ToString on this Resolution instance. |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)