←Select platform

Bounds Property (OcrWord)

Summary

Gets or sets the word coordinates in pixels.

Syntax

C#
VB
WinRT C#
C++
public Leadtools.LeadRect Bounds {get; set;} 
Public Property Bounds As Leadtools.LeadRect 
public Leadtools.LeadRect Bounds {get; set;} 
 <br/>get_Bounds();<br/>set_Bounds(value);<br/>Object.defineProperty('Bounds');  
public: 
property Leadtools.LeadRect Bounds { 
   Leadtools.LeadRect get(); 
   void set (    Leadtools.LeadRect ); 
} 

Property Value

A LeadRect containing the word coordinates in pixels.

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.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Ocr Assembly