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



Gets or sets the word value.

Syntax

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

Return Value

A String that indicate the word value.

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 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.

Requirements

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

See Also

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