The Value Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Gets or sets the word value.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;} |
Property Value
A System.String that indicate the word value.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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Reference
OcrWord StructureOcrWord Members
IOcrPage.SetRecognizedCharacters
IOcrPage.GetRecognizedCharacters
IOcrZoneCharacters.GetWords
IOcrPage.Recognize
IOcrPage.IsRecognized
OcrCharacter Structure
IOcrPageCharacters Interface
IOcrZoneCharacters Interface
IOcrPageCollection Interface
IOcrZoneCollection Interface
OcrZone Structure
Programming with Leadtools .NET OCR