 |
HtmlToPdfOptionsImagesMaxResolution Property |
Gets or sets the highest resolution, in pixels per inch, an image is kept at in the generated pdf document.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.5
Syntaxpublic int ImagesMaxResolution { get; set; }Public Property ImagesMaxResolution As Integer
Get
Set
Property Value
Int32
Remarks
An image the page draws at a higher resolution than this - more pixels than its size in the pdf needs -
is resampled down to it, which makes documents with large photos smaller. The resolution is measured
against the size the image is drawn at in the pdf. Gray and RGB images are resampled; image masks,
indexed and CMYK images are left as they are. The value is also set on the generated document, so the
images added to it afterwards are limited the same way.
The default value is 0, which keeps every image at its resolution. 150 suits screen reading, 300 print.
See Also