←Select platform

Value Property

Summary

Gets or sets the word value.

Syntax
C#
VB
Objective-C
C++
Java
public string Value { get; set; } 
Public Property Value As String 
@property (nonatomic, copy, nullable) NSString *value 
public String getValue() 
public void setValue(String value) 
public: 
property String^ Value { 
   String^ get(); 
   void set (    String^ ); 
} 

Property Value

A String that indicate the word value.

Remarks

You can get the recognized words of a zone with the IOcrZoneCharacters.GetWords method. This is a helper method that iterates through the OcrCharacter collection of the zone and constructs the words based on the OcrCharacter.Position flags.

The word value is the collection of characters (OcrCharacter.Code) from FirstCharacterIndex to LastCharacterIndex into the IOcrZoneCharacters collection.

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