←Select platform

OcrWord Structure

Summary

Represents recognized word data.

Syntax
C#
VB
Objective-C
C++
Java
[SerializableAttribute()] 
public struct OcrWord 
<SerializableAttribute()> 
Public Structure OcrWord  
   Inherits System.ValueType 
@interface LTOcrWord : NSObject <NSCopying> 
public class OcrWord 
[SerializableAttribute()] 
public value class OcrWord : public System.ValueType  

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.

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.

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