Leadtools.Forms.Ocr Namespace : OcrWord Structure |
[SerializableAttribute()] public struct OcrWord : System.ValueType
'Declaration <SerializableAttribute()> Public Structure OcrWord Inherits System.ValueType
'Usage Dim instance As OcrWord
[SerializableAttribute()] public class OcrWord
@interface LTOcrWord : NSObject
public class OcrWord
JAVASCRIPT_NOSTRUCTS
[SerializableAttribute()] public value class OcrWord : public System.ValueType
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.
The IOcrPageCharacters interface also contains the IOcrPageCharacters.UpdateWord method that allow to modify the OCR recognition results by updating or deleting the words before optionally saving the results to the final output document.
To create an OcrWord object with all values initialized to default values, use OcrTypeManager.CreateDefaultOcrWord. This is a shortcut for languages that do not automatically initialize all the members of a structure, such as JavaScript.
OcrWord Members
Leadtools.Forms.Ocr Namespace
IOcrPage.SetRecognizedCharacters
IOcrPage.GetRecognizedCharacters
IOcrZoneCharacters.GetWords
IOcrPage.Recognize
IOcrPage.IsRecognized
OcrCharacter Structure
IOcrPageCharacters Interface
IOcrZoneCharacters Interface
IOcrPageCollection Interface
IOcrZoneCollection Interface
OcrZone Structure
Programming with the LEADTOOLS .NET OCR