コミュニティ

Show only licensed languages 回答済み

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?

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

1件のコメント

  • Avatar
    Permanently deleted user

    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.

    1

サインインしてコメントを残してください。