pdfOCR 1.0.1 API
iText.Pdfocr.OcrEngineProperties Class Reference
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...
 

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
otherthe other OcrEngineProperties instance

Member Function Documentation

◆ GetLanguages()

IList<String> iText.Pdfocr.OcrEngineProperties.GetLanguages ( )
inline

Gets list of languages required for provided images.

Returns

System.Collections.IList<E> 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<E> of languages in string format

Returns
the OcrEngineProperties instance