Property Dpi
Dpi
Gets or sets the output resolution in dots per inch. Defaults to DefaultDpi.
public int Dpi { get; set; }
Property Value
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.