Click or drag to resize
Pdftools logo

ImageOptions Class

Options for OCR processing of images

These options control how images in the PDF document are processed during OCR.
Inheritance Hierarchy
SystemObject
  PdfTools.InternalNativeBase
    PdfTools.InternalNativeObject
      PdfTools.OcrImageOptions

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

The ImageOptions type exposes the following members.

Constructors
 NameDescription
Public methodImageOptions 
Top
Properties
 NameDescription
Public propertyDeskewScan

Whether to deskew scanned pages

This option has an effect only if the required information is provided by the OCR engine, which depends on the type and settings of the engine.

Default value:

Public propertyMode

The mode for processing images

Default value: None
Public propertyRemoveOnlyInvisibleOcrText

Whether to remove only invisible OCR text (text rendering mode 3)

When used with ReplaceText or RemoveText, only the invisible text layer typically added by OCR engines is removed, while other text is preserved.

Default value:

Public propertyRotateScan

Whether to rotate scanned pages based on detected orientation

This option has an effect only if the required information is provided by the OCR engine, which depends on the type and settings of the engine.

Default value:

Top
Methods
 NameDescription
Public methodEquals
(Inherited from NativeObject)
Public methodGetHashCode
(Inherited from NativeObject)
Top
See Also