←Select platform

LastCharacterIndex Property

Summary

Gets or sets the last index of word value in the IOcrZoneCharacters.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int LastCharacterIndex { get; set; } 
Public Property LastCharacterIndex As Integer 
public int LastCharacterIndex {get; set;} 
@property (nonatomic, assign) NSUInteger lastCharacterIndex 
public int getLastCharacterIndex() 
public void setLastCharacterIndex(int value) 
             
 <br/>get_LastCharacterIndex();<br/>set_LastCharacterIndex(value);<br/>Object.defineProperty('LastCharacterIndex');  
public: 
property int LastCharacterIndex { 
   int get(); 
   void set (    int ); 
} 

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Ocr Assembly