←Select platform

Bounds Property

Summary

Gets or sets the coordinates of the zone in pixels.

Syntax

C#
VB
Java
Objective-C
C++
public LeadRect Bounds { get; set; } 
Public Property Bounds As LeadRect 
@property (nonatomic, assign) LeadRect bounds 
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 20.0.2018.1.18
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly