←Select platform

FirstCharacterIndex Property

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int FirstCharacterIndex { get; set; } 
Public Property FirstCharacterIndex As Integer 
public int FirstCharacterIndex {get; set;} 
@property (nonatomic, assign) NSUInteger firstCharacterIndex 
public int getFirstCharacterIndex() 
public void setFirstCharacterIndex(int value) 
             
 <br/>get_FirstCharacterIndex();<br/>set_FirstCharacterIndex(value);<br/>Object.defineProperty('FirstCharacterIndex');  
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Ocr Assembly