Table of Contents

Property Dpi

Namespace
DocWright.Renderers.Imaging
Assembly
DocWright.Renderers.Imaging.dll

Dpi

Gets or sets the output resolution in dots per inch. Defaults to DefaultDpi.

public int Dpi { get; set; }

Property Value

int

Remarks

Integer by design. A fractional DPI would put floating point at the very top of the geometry pipeline and make byte-identical output across runtimes a hope rather than a guarantee — see the renderer's determinism contract.

Exceptions

ArgumentOutOfRangeException

The value is not positive.