ReadyState Property

Example-VB

Returns the state of the OCR control’s properties.

Available With

Ö Imaging for Windows Professional Edition V2.0
Imaging for Windows Professional Edition V1.0 and V1.1
Imaging for Windows 95 and 98
Imaging for Windows NT 4.0

Applies To

Image OCR control

Syntax

object.ReadyState[=value]

Data Type

Long

Setting Description

0 Control is initializing and retrieving properties
2 Control is initialized and the download process has started
4 Control is ready for all requests

Remarks

This property is read-only.

Used for asynchronous downloading of images from a Web site (Image property set to a URL).

When downloading images from a Web site, you cannot call the StartOcr method until the ReadyState property is set to 4.

If the image file specified is not a URL, the ReadyState property will always have a default value of 4.