Show only licensed languages Answered

I need to create a language selector for OCR processing of documents. I can list all available languages getting them from engine.PredefinedLanguages and i can narrow the list by showing only a specific subset with a specific FREngine.LanguageCategoryEnum (like core languages).

However this list is not relative to current license available languages. In current license there is a bitmapped field named AvailableLanguageSetsFlags which defines the subsets available but I haven't understood how (and if) I can use this information to filter only available languages.

Is there a way to show only languages available with currently loaded license?



1 comment

  • Avatar
    Oksana Serdyuk

    Hi, please accept my apologies for the delay in response.

    You can use the AvailablePredefinedLanguages property of the Engine object to get the collection of all predefined languages that are available under the current license. See the Developer's Help → API Reference → Engine Object (IEngine Interface) → Properties.

    Comment actions Permalink

Please sign in to leave a comment.