PredefinedLanguages Object (IPredefinedLanguages Interface)
This object represents a collection of predefined languages. Predefined languages are recognition languages supported by ABBYY FineReader Engine by default. The collection of predefined languages is created upon FineReader Engine initialization and exists until it is deinitialized.
Besides standard collection functionality, this object exposes the Find method that allows you to get a PredefinedLanguage object by its internal name. The collection is accessible via the Engine object.
Notes:
- The indexing of ABBYY FineReader Engine collections starts with 0.
- The foreach statement in C# (for each in Visual Basic .NET) can be used to manipulate the collection.
Properties
Name | Type | Description |
---|---|---|
Application | Engine, read-only | Returns the Engine object. |
Count | int, read-only | Stores the number of elements in the collection. |
Element | PredefinedLanguage, read-only | Provides access to a single element of the collection. |
Methods
Name | Description |
---|---|
Find | Finds a predefined language in the collection by the internal name of the language. |
Item | Provides access to a single element of the collection. |
Related objects
Samples
C# code
The object is used in the following code samples: CustomLanguage; and demo tools: BatchProcessingRecognition, Camera OCR, Classification, Engine Predefined Processing Profiles, Image Preprocessing, MultiProcessingRecognition, PDFExportProfiles.
See also
17.09.2024 15:14:40