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