dpi property
getter/setter pair
The dpi parameter has two different meanings depending on the value of pageSize and
pageFit. If pageSize is CUSTOM or pageFit is NONE, then dpi is the conversion ratio used
to convert from units of pixels to physical inches when adding bitmap images (JPEG, PNG, or
raw) to the PDF. Otherwise, if resamplingMethod is not NONE, then the image is downscaled
if necessary (if the image after being fit to the page has a higher calculated DPI than
dpi) to match dpi before adding it to the PDF. Otherwise, the setting is ignored and the
calculated image DPI is used instead.
Default is 72
Implementation
int dpi;