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.6.0+e1db8f4bf6125495a2d29513486ea3e61205c81b
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