SmartZone v7.0 for .NET - Updated
Area Property (Reader)




Accusoft.SmartZoneOCR.Net Assembly > Accusoft.SmartZoneOCRSdk Namespace > Reader Class : Area Property
Gets and sets the coordinates of the image to perform recognition on. The area uses the Rectangle object which contains the height, width, x and y coordinates to define the area on an image.
Syntax
'Declaration
 
Public Property Area As Rectangle
'Usage
 
Dim instance As Reader
Dim value As Rectangle
 
instance.Area = value
 
value = instance.Area
public Rectangle Area {get; set;}
public: __property Rectangle get_Area();
public: __property void set_Area( 
   Rectangle value
);
public:
property Rectangle Area {
   Rectangle get();
   void set (    Rectangle value);
}
Exceptions
ExceptionDescription
The specified area contains one or more negative values for position or dimension.
 
Remarks

Default value: X : 0, Y : 0, Width : 0, Height : 0

To perform recognition on the entire image, then the Area property values (X, Y, Width, Height) must all be set to zero.

An area outside of the image will produce an error.

See Also

Reference

Reader Class
Reader Members

Is this page helpful?
Yes No
Thanks for your feedback.