←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) 
             
  
get_LastCharacterIndex(); 
set_LastCharacterIndex(value); 
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Forms.Ocr Assembly
Click or drag to resize