Visual Basic (Declaration) | |
---|---|
Public Property Bounds As LogicalRectangle |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public LogicalRectangle Bounds {get; set;} |
C++/CLI | |
---|---|
public: property LogicalRectangle Bounds { LogicalRectangle get(); void set (LogicalRectangle value); } |
Return Value
A LogicalRectangle containing the word coordinates in logical units.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.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
Reference
OcrWord StructureOcrWord 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 Leadtools .NET OCR