LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

LastCharacterIndex Property

Show in webframe







Gets or sets the last index of word value in the IOcrZoneCharacters.
Syntax
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;}
@property (nonatomic, assign) int lastCharacterIndex;
public int getLastCharacterIndex()
public void setLastCharacterIndex(int value)
            
 
get_LastCharacterIndex();
set_LastCharacterIndex(value);
Object.defineProperty('LastCharacterIndex');
public:
property int LastCharacterIndex {
   int get();
   void set (    int value);
}

Property Value

The zero-based index of the last character that forms this word in the IOcrZoneCharacters used to create this OcrWord.
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.

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.

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

Target Platforms

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-2014 All Rights Reserved. LEAD Technologies, Inc.

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