←Select platform

Bounds Property (OcrWord)

Summary

Gets or sets the word coordinates in logical units.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public Leadtools.Forms.LogicalRectangle Bounds {get; set;} 
Public Property Bounds As Leadtools.Forms.LogicalRectangle 
public Leadtools.Forms.LogicalRectangle Bounds {get; set;} 
@property (nonatomic, assign) LeadRect bounds 
public LeadRect getBounds() 
public void setBounds(LeadRect value) 
             
  
get_Bounds(); 
set_Bounds(value); 
Object.defineProperty('Bounds');  

Property Value

A LogicalRectangle containing the word coordinates in logical units.

Remarks

You can get the recognized words of a zone with the IOcrZoneCharacters.GetWords method. This is a helper method that iterate through the OcrCharacter collection of the zone and constructs the words based on the OcrCharacter.Position flags.

The word coordinates is the sum of the coordinates of the characters (OcrCharacter.Bounds) from FirstCharacterIndex to LastCharacterIndex into the IOcrZoneCharacters collection.

The unit of this logical rectangle is the same as unit passed to IOcrZoneCharacters.GetWords.

Example

For an example, refer to IOcrPage.GetRecognizedCharacters.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Forms.Ocr Assembly
Click or drag to resize