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.5.0+84bd4d36da7e2449ee09fddee89e23a99b6ffcca
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