Table of Contents

Property Dpi

Namespace
DocWright.Formats.Pdf.Raster
Assembly
DocWright.Formats.Pdf.dll

Dpi

Gets or sets the output resolution in dots per inch. Default: DefaultDpi.

public int Dpi { get; set; }

Property Value

int

Remarks

Integer by design, and for the same reason the imaging renderer's is: the device mapping is fixed-point from here down, so two renders of one page are byte-identical. A fractional DPI would put a floating-point value at the top of that chain.

Exceptions

ArgumentOutOfRangeException

The value is not between 1 and 2400.