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.17.0+23d126d295bd5cb25c315a91f72f3e0c111acb34
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