←Select platform

OcrWord Structure

Summary

Represents recognized word data.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
[SerializableAttribute()] 
public struct OcrWord 
<SerializableAttribute()> 
Public Structure OcrWord  
   Inherits System.ValueType 
[SerializableAttribute()] 
public class OcrWord 
@interface LTOcrWord : NSObject <NSCopying> 
public class OcrWord 
JAVASCRIPT_NOSTRUCTS 
[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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Ocr Assembly