Click or drag to resize
Pdftools logo

OcrOptionsDpi Property

The default resolution in DPI used for OCR

Each page's optimal OCR resolution is determined automatically, such that all images and text can be recognized. The default resolution is chosen if it is within the range of optimal resolutions.

The range should be within the resolutions supported by the OCR engine. Most OCR engines are optimized for resolutions around 300 DPI.

Default value: 300.0


Namespace: PdfTools.Ocr
Assembly: PdfTools (in PdfTools.dll) Version: 1.18.0+b1d0ba2880e819b0af6ed309ecaa192439f42fd7
Syntax
C#
public double Dpi { get; set; }

Property Value

Double
Exceptions
ExceptionCondition
ArgumentException[set] The DPI value is invalid.
See Also