pdfOCR 4.0.0 API
iText.Pdfocr.OcrEngineProperties Class Reference

This class contains additional properties for ocr engine. More...

Inheritance diagram for iText.Pdfocr.OcrEngineProperties:
iText.Pdfocr.Tesseract4.Tesseract4OcrEngineProperties

Public Member Functions

  OcrEngineProperties ()
  Creates a new OcrEngineProperties instance. More...
 
  OcrEngineProperties (iText.Pdfocr.OcrEngineProperties other)
  Creates a new OcrEngineProperties instance based on another OcrEngineProperties instance (copy constructor). More...
 
IList< String >  GetLanguages ()
  Gets list of languages required for provided images. More...
 
iText.Pdfocr.OcrEngineProperties  SetLanguages (IList< String > requiredLanguages)
  Sets list of languages to be recognized in provided images. More...
 

Detailed Description

This class contains additional properties for ocr engine.

Constructor & Destructor Documentation

◆ OcrEngineProperties() [1/2]

iText.Pdfocr.OcrEngineProperties.OcrEngineProperties ( )
inline

Creates a new OcrEngineProperties instance.

◆ OcrEngineProperties() [2/2]

iText.Pdfocr.OcrEngineProperties.OcrEngineProperties ( iText.Pdfocr.OcrEngineProperties  other )
inline

Creates a new OcrEngineProperties instance based on another OcrEngineProperties instance (copy constructor).

Parameters
other the other OcrEngineProperties instance

Member Function Documentation

◆ GetLanguages()

IList iText.Pdfocr.OcrEngineProperties.GetLanguages ( )
inline

Gets list of languages required for provided images.

Returns

System.Collections.IList of languages

◆ SetLanguages()

iText.Pdfocr.OcrEngineProperties iText.Pdfocr.OcrEngineProperties.SetLanguages ( IList< String >  requiredLanguages )
inline

Sets list of languages to be recognized in provided images.

Sets list of languages to be recognized in provided images. Consult with documentation of specific engine implementations to check on which format to give the language in.

Parameters
requiredLanguages

System.Collections.IList of languages in string format

Returns
the OcrEngineProperties instance