Click or drag to resize
Pdftools logo

ImageProcessingMode Enumeration

The mode for processing images in OCR


Namespace: PdfTools.Ocr
Assembly: PdfTools (in PdfTools.dll) Version: 1.16.0+362ed17524d0f96db0bdf45362ca9dfd8e1a4428
Syntax
C#
public enum ImageProcessingMode
Members
Member nameValueDescription
None0 Do not process images.
UpdateText1 Only process images that have no OCR text. This is the recommended mode to make scanned pages searchable while preserving existing OCR text.
ReplaceText2 Process all images and remove existing OCR text. Use this mode to re-OCR all images, replacing any previously generated text.
RemoveText3 Remove existing OCR text without performing new OCR. This mode does not require an OCR engine.
IfNoText4 Process images only if the document contains no text at all.
See Also