Click or drag to resize
Pdftools logo

Processor Class

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.

Inheritance Hierarchy
SystemObject
  PdfTools.InternalNativeBase
    PdfTools.InternalNativeObject
      PdfTools.OcrProcessor

Namespace: PdfTools.Ocr
Assembly: PdfTools (in PdfTools.dll) Version: 1.16.0+362ed17524d0f96db0bdf45362ca9dfd8e1a4428
Syntax
C#
public class Processor : NativeObject

The Processor type exposes the following members.

Constructors
 NameDescription
Public methodProcessor 
Top
Methods
 NameDescription
Public methodEquals
(Inherited from NativeObject)
Public methodGetHashCode
(Inherited from NativeObject)
Public methodProcess

Apply OCR to a PDF document

Process the input PDF document with OCR according to the specified options. The processed document is written to the output stream.

Non-critical processing issues raise a Warning. It is recommended to review the WarningCategory and handle them if necessary for the application.

Top
Events
 NameDescription
Public eventWarning

Event for warnings occurring during OCR processing

Non-critical issues during processing are reported via this event. It is recommended to review the WarningCategory and handle warnings if necessary for the application.
Top
See Also