LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)
LEAD Technologies, Inc

Bounds Property (OcrWord)






Gets or sets the word coordinates in pixels. WinRT support
Syntax
public LeadRect Bounds {get; set;}
'Declaration
 
Public Property Bounds As LeadRect
'Usage
 
Dim instance As OcrWord
Dim value As LeadRect
 
instance.Bounds = value
 
value = instance.Bounds
public LeadRect Bounds {get; set;}
 get_Bounds();
set_Bounds(value);
public:
property LeadRect Bounds {
   LeadRect get();
   void set (    LeadRect value);
}

Property Value

A Leadtools.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.

Example
For an example, refer to IOcrPage.GetRecognizedCharacters.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

OcrWord Structure
OcrWord Members
IOcrPage.SetRecognizedCharacters
IOcrPage.GetRecognizedCharacters
IOcrZoneCharacters.GetWords
IOcrPage.Recognize
IOcrPage.IsRecognized
OcrCharacter Structure
IOcrPageCharacters Interface
IOcrZoneCharacters Interface
IOcrPageCollection Interface
IOcrZoneCollection Interface
OcrZone Structure
Programming with the LEADTOOLS .NET OCR

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Bounds requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features