Click or drag to resize
Pdftools logo

PdfTools.Ocr Namespace

 
Classes
 ClassDescription
Public classEngine

OCR engine

An OCR engine is required for most OCR processing operations. Engines can be created using the static method Create(String).

OCR engines can be reused to process multiple files. However, one OCR engine can only be used to process one file at a time.

Note that some OCR engines must be disposed in the same thread where they have been created. Note that of some OCR engines only one instance can be created per process.

Public classImageOptions

Options for OCR processing of images

These options control how images in the PDF document are processed during OCR.
Public classOcrOptions

The options for OCR processing

This class aggregates all OCR processing options including resolution settings, image processing, text processing and page processing.
Public classPageOptions

Options for OCR processing of pages

These options control page-level OCR processing and tagging.
Public classProcessor

Process PDF documents with OCR

The processor applies Optical Character Recognition (OCR) to PDF documents. It can make scanned documents searchable, fix text extraction issues and generate PDF tagging/structure.

The processor is decoupled from the document - it takes a Document as input and produces a new Document as output.

Public classProcessorWarningEventArgs 
Public classTextOptions

Options for OCR processing of text

These options control how existing text in the PDF document is processed during OCR.
Enumerations
 EnumerationDescription
Public enumerationImageProcessingMode

The mode for processing images in OCR

Public enumerationPageProcessingMode

The mode for processing pages in OCR

Public enumerationTaggingMode

The mode for PDF tagging/structure generation

Public enumerationTextProcessingMode

The mode for processing text in OCR

Public enumerationTextSkipMode

Flags specifying which text to skip during OCR processing

Public enumerationUnicodeSource

Flags specifying additional sources for Unicode mapping

Public enumerationWarningCategory

The category of OCR warnings