Leadtools.Forms.Ocr Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
OcrCharacterFontStyle Enumeration
See Also  
Leadtools.Forms.Ocr Namespace : OcrCharacterFontStyle Enumeration



Font attributes for recognized characters.

Syntax

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

Members

MemberDescription
Regular Normal text
Bold Bold text
Italic Italic text
Underline Underlined text
SansSerif SansSerif text
Serif Serif text
Proportional Proportional text. If this flag is not set, the text is mono-spaced.
Superscript Super script text
Subscript Subscript 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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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