←Select platform

OcrCharacterPosition Enumeration

Summary

Recognition character data position information.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
[SerializableAttribute()] 
[FlagsAttribute()] 
public enum OcrCharacterPosition 
<FlagsAttribute()> 
<SerializableAttribute()> 
Public Enum OcrCharacterPosition  
    
    
[FlagsAttribute()] 
[SerializableAttribute()] 
public enum OcrCharacterPosition    
typedef NS_OPTIONS(NSUInteger, LTOcrCharacterPosition) 
public enum OcrCharacterPosition 
Leadtools.Forms.Ocr.OcrCharacterPosition = function() { }; 
Leadtools.Forms.Ocr.OcrCharacterPosition.prototype = {<br/> 
  None = 0x00000000, 
    EndOfLine = 0x00000001, 
    EndOfParagraph = 0x00000002, 
    EndOfWord = 0x00000004, 
    EndOfZone = 0x00000008, 
    EndOfPage = 0x00000010, 
    EndOfCell = 0x00000020, 
     
 }; 
[FlagsAttribute()] 
[SerializableAttribute()] 
public enum class OcrCharacterPosition   

Members

ValueMemberDescription
0x00000000None None
0x00000001EndOfLine This is the last character in a line
0x00000002EndOfParagraph This is the last character in a paragraph
0x00000004EndOfWord This is the last character of a word
0x00000008EndOfZone This is the last character in a zone
0x00000010EndOfPage This is the last character on a page
0x00000020EndOfCell This is the last character in a cell. (applicable only for OcrZoneType.Table type zones)
Remarks

Since the recognition character data does not contain extra characters for marking the ends of lines, paragraphs, pages, etc, these pieces of information are stored for the particular characters in the OcrCharacter.Position property.

The values of OcrCharacterPosition can be combined together (OR-ed).

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