←Select platform

OcrWord Structure

Summary

Represents recognized word data.

Syntax

C#
VB
Java
Objective-C
C++
[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.2018.6.20
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly