←Select platform

LastCharacterIndex Property

Summary
Gets or sets the last index of word value in the IOcrZoneCharacters.
Syntax
C#
VB
Objective-C
C++
Java
public int LastCharacterIndex { get; set; } 
Public Property LastCharacterIndex As Integer 
@property (nonatomic, assign) NSUInteger lastCharacterIndex 
public int getLastCharacterIndex() 
public void setLastCharacterIndex(int value) 
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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.