Search Results for

    Show / Hide Table of Contents

    Class IronOcrInputException

    Exception thrown when OcrInput operations encounter errors during Image/PDF loading or processing.

    Inheritance
    System.Object
    IronOcrInputException
    Namespace: IronOcr.Exceptions
    Assembly: IronOcr.dll
    Syntax
    public class IronOcrInputException : Exception

    Trouble with the material handed to the OCR engine raises this exception, thrown when an image, PDF, or stream supplied as input cannot be opened, decoded, or read as a supported format. Check that the file exists and is readable, that its format is one IronOCR accepts, and that a stream sits at its start before retrying. It derives from Exception. The input images how-to lists the supported sources.

    Constructors

    IronOcrInputException(String)

    Initializes a new instance of the IronOcrInputException class with a specified error message.

    Declaration
    public IronOcrInputException(string message)
    Parameters
    Type Name Description
    System.String message

    The message that describes the error.

    IronOcrInputException(String, Exception)

    Declaration
    public IronOcrInputException(string message, Exception innerException)
    Parameters
    Type Name Description
    System.String message
    System.Exception innerException
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget