To detect languages present in a document or in a single page of a document set multiple recognition languages using the SetPredefinedTextLanguage Method and use the LanguageDetectionMode Property of the RecognizerParams Object. The detected languages are stored in the DetectedLanguages Property of the FRDocument Object and the FRPage Object.
This collection is only available after recognition with the automatic language detection on.
Note: DetectedLanguages will contain only languages previously specified by SetPredefinedTextLanguage Method. Languages in the collection are sorted by the frequency of occurrence: from the most frequently occurred to the least.
For more information please refer to the following articles of the Developer's Help respectively:
- SetPredefinedTextLanguage Method of the RecognizerParams Object
- RecognizerParams Object (IRecognizerParams Interface)
- FRDocument Object (IFRDocument Interface)
- FRPage Object (IFRPage Interface)