Visual Basic (Declaration) | |
---|---|
Public Property LastCharacterIndex As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int LastCharacterIndex {get; set;} |
Return Value
The zero-based index of the last character that forms this word in the IOcrZoneCharacters used to create this OcrWord.For an example, refer to IOcrPage.GetRecognizedCharacters.
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.
You can get extra information about the characters in this word by iterating through the IOcrZoneCharacters collection with starting index of FirstCharacterIndex and ending index of LastCharacterIndex.
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