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.10.0+8a8a96de3867b60fd3fc0089ea1028db6add63f1
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