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.21.0+681095c836a504fad5babf64a745b2efeb5bae2c
Syntax
C#
public double Dpi { get; set; }

Property Value

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