Class LanguagePackException
Indicates an issue regarding language packs, such as a missing language pack
Inheritance
Namespace: IronOcr.Exceptions
Assembly: IronOcr.dll
Syntax
public class LanguagePackException : Exception
Selecting an OCR language whose pack is missing or cannot load raises LanguagePackException. Confirm the language NuGet package is installed and referenced, that the language name and code are spelled correctly, and that any custom .traineddata file is present at the expected path before reading. The exception derives directly from System.Exception, so a catch on the base type handles it.