Leadtools.Forms.Ocr Namespace > OcrWord Structure : LastCharacterIndex Property |
public int LastCharacterIndex {get; set;}
'Declaration Public Property LastCharacterIndex As Integer
'Usage Dim instance As OcrWord Dim value As Integer instance.LastCharacterIndex = value value = instance.LastCharacterIndex
public int LastCharacterIndex {get; set;}
get_LastCharacterIndex();
set_LastCharacterIndex(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.
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: 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
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