Timeout Property (GdPictureOCR)
In This Topic
Defines the time interval, means timeout, in milliseconds, that specifies the maximum time allowed for subsequent OCR processes
before they are automatically interrupted.
Syntax
'Declaration
Public Property Timeout As Integer
public int Timeout {get; set;}
public read-write property Timeout: Integer;
public function get,set Timeout : int
public: __property int get_Timeout();
public: __property void set_Timeout(
int value
);
public:
property int Timeout {
int get();
void set ( int value);
}
Property Value
The default value is 0 (no timeout).
Example
How to change the timeout value.
Using gdpictureOCR As GdPictureOCR = New GdPictureOCR()
gdpictureOCR.Timeout = 5000 '5 seconds
'You can do your another stuff with gdpictureOCR here.
End Using
using (GdPictureOCR gdpictureOCR = new GdPictureOCR())
{
gdpictureOCR.Timeout = 5000; //5 seconds
//You can do your another stuff with gdpictureOCR here.
}
See Also