LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

OcrCharacterFontStyle Enumeration

Show in webframe







Indicates the font attributes for recognized characters.
Syntax
'Declaration
 
<FlagsAttribute()>
<SerializableAttribute()>
Public Enum OcrCharacterFontStyle 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As OcrCharacterFontStyle
enum LTOcrCharacterFontStyle
public enum OcrCharacterFontStyle
Leadtools.Forms.Ocr.OcrCharacterFontStyle = function() { };
Leadtools.Forms.Ocr.OcrCharacterFontStyle.prototype = {
Regular = 0x00000000, Bold = 0x00000001, Italic = 0x00000002, Underline = 0x00000004, Serif = 0x00000008, SansSerif = 0x00000008, Proportional = 0x00000020, Superscript = 0x00000040, Subscript = 0x00000080, Strikeout = 0x00000100, };
[FlagsAttribute()]
[SerializableAttribute()]
public enum class OcrCharacterFontStyle : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
ValueMemberDescription
0x00000000RegularNormal text
0x00000001BoldBold text
0x00000002ItalicItalic text
0x00000004UnderlineUnderlined text
0x00000008SerifSerif text
0x00000008SansSerifSansSerif text
0x00000020ProportionalProportional text. If this flag is not set, the text is mono-spaced.
0x00000040SuperscriptSuper script text
0x00000080SubscriptSubscript text
0x00000100StrikeoutStrikeout text
Remarks

The OcrCharacter.FontStyle property contains the font attributes of the recognized character.

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

Note: SansSerif, Serif, Superscript, and Subscript attributes are not supported in the LEADTOOLS OCR Advantage Engine.

Example
For an example, refer to IOcrPage.GetRecognizedCharacters.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Forms.Ocr.OcrCharacterFontStyle

Requirements

Target Platforms

See Also

Reference

Leadtools.Forms.Ocr Namespace
IOcrPage.SetRecognizedCharacters
IOcrPage.GetRecognizedCharacters
IOcrPage.Recognize
IOcrPage.IsRecognized
OcrCharacter Structure
IOcrPageCharacters Interface
IOcrZoneCharacters Interface
IOcrPageCollection Interface
IOcrZoneCollection Interface
OcrZone Structure
Programming with the LEADTOOLS .NET OCR

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

OcrCharacterFontStyle requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features