Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> <SerializableAttribute()> Public Enum OcrCharacterPosition Inherits Enum |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[FlagsAttribute()] [SerializableAttribute()] public enum OcrCharacterPosition : Enum |
C++/CLI | |
---|---|
[FlagsAttribute()] [SerializableAttribute()] public enum class OcrCharacterPosition : public Enum |
Member | Description |
---|---|
None | None |
EndOfLine | This is the last character in a line |
EndOfParagraph | This is the last character in a paragraph |
EndOfWord | This is the last character of a word |
EndOfZone | This is the last character in a zone |
EndOfPage | This is the last character on a page |
EndOfCell | This is the last character in a cell. (applicable only for OcrZoneType.Table type zones) |
For an example, refer to IOcrPage.GetRecognizedCharacters.
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).
System.Object
System.ValueType
System.Enum
Leadtools.Forms.Ocr.OcrCharacterPosition
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
Reference
Leadtools.Forms.Ocr NamespaceIOcrPage.SetRecognizedCharacters
IOcrPage.GetRecognizedCharacters
IOcrPage.Recognize
IOcrPage.IsRecognized
OcrCharacter Structure
IOcrPageCharacters Interface
IOcrZoneCharacters Interface
IOcrPageCollection Interface
IOcrZoneCollection Interface
OcrZone Structure
Programming with Leadtools .NET OCR