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

NameTypeAccessDescription
XintRead/WriteHorizontal resolution in DPI.
YintRead/WriteVertical resolution in DPI.

Methods

SignatureDescription
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.

See Also

 English