←Select platform

FirstCharacterIndex Property

Summary

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

Syntax
C#
VB
Objective-C
C++
Java
public int FirstCharacterIndex { get; set; } 
Public Property FirstCharacterIndex As Integer 
@property (nonatomic, assign) NSUInteger firstCharacterIndex 
public int getFirstCharacterIndex() 
public void setFirstCharacterIndex(int value) 
public: 
property int FirstCharacterIndex { 
   int get(); 
   void set (    int ); 
} 

Property Value

The zero-based index of the first 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 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly