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




In This Topic
    Zone Property (Reader)
    In This Topic
    Gets and sets the coordinates of the image to perform recognition on. The area uses the Zone object which contains the height, width, x and y coordinates to define the area on an image.
    Syntax
    'Declaration
     
    
    Public Property Zone As Zone
    'Usage
     
    
    Dim instance As Reader
    Dim value As Zone
     
    instance.Zone = value
     
    value = instance.Zone
    public Zone Zone {get; set;}
    public: __property Zone get_Zone();
    public: __property void set_Zone( 
       Zone value
    );
    public:
    property Zone Zone {
       Zone get();
       void set (    Zone 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 Zone property values (X, Y, Width, Height) must all be set to zero.

    An area outside of the image will produce an error.

    See Also