Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.9
|
Leadtools.Forms.Ocr Assembly > Leadtools.Forms.Ocr Namespace > OcrWord Structure : Bounds Property |
public LogicalRectangle Bounds {get; set;}
'Declaration
Public Property Bounds As LogicalRectangle
'Usage
Dim instance As OcrWord Dim value As LogicalRectangle instance.Bounds = value value = instance.Bounds
public LogicalRectangle Bounds {get; set;}
@property (nonatomic, assign) LeadRect bounds
public LeadRect getBounds() public void setBounds(LeadRect value)
<br/>get_Bounds();<br/>set_Bounds(value);<br/>Object.defineProperty('Bounds');
public: property LogicalRectangle Bounds { LogicalRectangle get(); void set ( LogicalRectangle value); }
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.
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