SmartZone v8.0 - Updated
Accusoft.SmartZoneOCR.Net Assembly / Accusoft.SmartZoneOCRSdk Namespace / Reader Class / Timeout Property




In This Topic
    Timeout Property
    In This Topic
    The maximum amount of time in milliseconds for OCR.
    Syntax
    'Declaration
     
    
    Public Property Timeout As Integer
    'Usage
     
    
    Dim instance As Reader
    Dim value As Integer
     
    instance.Timeout = value
     
    value = instance.Timeout
    public int Timeout {get; set;}
    public: __property int get_Timeout();
    public: __property void set_Timeout( 
       int value
    );
    public:
    property int Timeout {
       int get();
       void set (    int value);
    }
    Exceptions
    ExceptionDescription
    Timeout is expected to be a positive value.
    Remarks

    Valid range: 1 to System.Int32.MaxValue.

    Default value: 180000 milliseconds (3 minutes).

    If the OCR process takes longer than the timeout value specified, an empty TextBlockResult will be returned. No exception is thrown.

    Timeout is expected to be a positive value.
    See Also