Click or drag to resize
Pdftools logo

WebResolutionDPI Property

The target resolution of images in DPI

The target resolution in DPI (dots per inch) for color and grayscale images.

Images with a resolution above ThresholdDPI are down-sampled.

Valid values are in the range 1.0 to 10000.

Set to to deactivate down-sampling of images.

Default: 150.


Namespace: PdfTools.Optimization.Profiles
Assembly: PdfTools (in PdfTools.dll) Version: 1.5.0+84bd4d36da7e2449ee09fddee89e23a99b6ffcca
Syntax
C#
public double? ResolutionDPI { get; set; }

Property Value

NullableDouble
Exceptions
ExceptionCondition
ArgumentException[set] The given value is outside of range 1.0 to 10000.0.
See Also