LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
OcrCharacterFontStyle Enumeration
See Also  
Leadtools.Forms.Ocr Namespace : OcrCharacterFontStyle Enumeration



The OcrCharacterFontStyle Enumeration is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

Font attributes for recognized characters.

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
<SerializableAttribute()>
Public Enum OcrCharacterFontStyle 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As OcrCharacterFontStyle
C# 
[FlagsAttribute()]
[SerializableAttribute()]
public enum OcrCharacterFontStyle : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
[FlagsAttribute()]
[SerializableAttribute()]
public enum class OcrCharacterFontStyle : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
BoldBold text
ItalicItalic text
ProportionalProportional text. If this flag is not set, the text is mono-spaced.
RegularNormal text
SansSerifSansSerif text
SerifSerif text
SubscriptSubscript text
SuperscriptSuper script text
UnderlineUnderlined text

Example

For an example, refer to IOcrPage.GetRecognizedCharacters.

Remarks

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

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

Note: These attributes are not supported in the LEADTOOLS OCR Advantage Engine.

Inheritance Hierarchy

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

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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