Resolution
Overview
Resolution is a class in Aspose.PDF FOSS for .NET.
Represents the resolution (DPI) for device rendering and image placement.
This class declares 3 methods for Resolution objects in .NET programs.
Available methods include: Resolution, ToString.
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) | Creates a resolution with the same DPI value horizontally and vertically. |
Resolution(valueX: int, valueY: int) | Creates a resolution with separate horizontal and vertical DPI values. |
ToString() | Calls ToString on this Resolution instance. |