Leadtools.Forms.Ocr Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
FirstCharacterIndex Property
See Also 
Leadtools.Forms.Ocr Namespace > OcrWord Structure : FirstCharacterIndex Property



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

Syntax

Visual Basic (Declaration) 
Public Property FirstCharacterIndex As Integer
Visual Basic (Usage)Copy Code
Dim instance As OcrWord
Dim value As Integer
 
instance.FirstCharacterIndex = value
 
value = instance.FirstCharacterIndex
C# 
public int FirstCharacterIndex {get; set;}
C++/CLI 
public:
property int FirstCharacterIndex {
   int get();
   void set (int value);
}

Return Value

The zero-based index of the first character that forms this word in the IOcrZoneCharacters used to create this OcrWord.

Example

For an example, refer to IOcrPage.GetRecognizedCharacters.

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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

FirstCharacterIndex requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features