Accusoft Pegasus
Accusoft.MicrXpress1.Net
Area Property
See Also  Send Feedback
Accusoft.MicrXpressSdk Namespace > Reader Class : Area Property




Gets or sets the coordinates of the image to perform recognition.

Syntax

Visual Basic (Declaration)  
Public Property Area As Rectangle
Visual Basic (Usage) Copy Code
Dim instance As Reader
Dim value As Rectangle
 
instance.Area = value
 
value = instance.Area
C#  
public Rectangle Area {get; set;}
Managed Extensions for C++  
public: __property Rectangle get_Area();
public: __property void set_Area( 
   Rectangle value
);
C++/CLI  
public:
property Rectangle Area {
   Rectangle get();
   void set (Rectanglevalue);
}

Exceptions

Exception Description
ArgumentException Thrown when setting the property to an area contains one or more negative values for position or dimension.
ArgumentNullException Thrown when setting the property to a null value.

Remarks

The default value is X : 0, Y : 0, Width : 0, Height : 0.

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

Throws an InvalidAreaException when attempting to set an area outside of the image bounds.

See Also


©2009. Pegasus Imaging Corporation, DBA Accusoft Pegasus. All Rights Reserved.