Click or drag to resize
Pdftools logo

MinimalFileSizeResolutionDPI 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.

If , then resolution setting is disabled.

Default: 130.


Namespace: PdfTools.Optimization.Profiles
Assembly: PdfTools (in PdfTools.dll) Version: 1.22.0+83ab3912adabdb2fb716a8a3fade804a5df95c7d
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