Click or drag to resize
Pdftools logo

Resolution Structure

The resolution defines the spatial dot density, e.g. of images.
Inheritance Hierarchy
SystemObject
  SystemValueType
    PdfTools.Geometry.UnitsResolution

Namespace: PdfTools.Geometry.Units
Assembly: PdfTools (in PdfTools.dll) Version: 1.4.0+fc8bb87ea2616e7f35d94e0588d333abae862a7a
Syntax
C#
public struct Resolution

The Resolution type exposes the following members.

Constructors
Properties
 NameDescription
Public propertyXDpi

Horizontal resolution in DPI (dots per inch)

Public propertyYDpi

Vertical resolution in DPI (dots per inch)

Top
Methods
 NameDescription
Public methodCalculateSize Calculate the physical size of an object, e.g. an image, at that resolution.
Public methodToString Returns a string that contains the values of this Resolution structure. For example: "300DPI 300DPI".
(Overrides ValueTypeToString)
Top
See Also