←Select platform

Bounds Property

Summary
Gets or sets the coordinates of the zone in pixels.
Syntax
C#
VB
C++
Java
public LeadRect Bounds { get; set; } 
Public Property Bounds As LeadRect 
public LeadRect getBounds() 
public void setBounds(LeadRect value) 
public: 
property LeadRect Bounds { 
   LeadRect get(); 
   void set (    LeadRect ); 
} 

Property Value

A LeadRect that contain the coordinates of the zone in pixels.

Remarks

Calling IOcrPage.AutoZone will return zones with Bounds coordinates that do not overlap with each other. It is the developers responsibility when modifying the zones of the page to make sure the coordinates of those zones follow the same rule.

The coordinates of the zone is in pixels.

Also the IOcrPage.GetZoneBoundsInPixels method can get the coordinates of any zone in pixels.

Example

For an example, refer to IOcrPage.HitTestZone.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.