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.20.0+32c3b3a21152d09e640f60dd999580d661b73c71
Syntax
C#
public double Dpi { get; set; }

Property Value

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