The OcrCharacterFontStyle Enumeration is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Font attributes for recognized characters.Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> <SerializableAttribute()> Public Enum OcrCharacterFontStyle Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As OcrCharacterFontStyle |
C# | |
---|---|
[FlagsAttribute()] [SerializableAttribute()] public enum OcrCharacterFontStyle : System.Enum, IComparable, IConvertible, IFormattable |
C++/CLI | |
---|---|
[FlagsAttribute()] [SerializableAttribute()] public enum class OcrCharacterFontStyle : public System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
Bold | Bold text |
Italic | Italic text |
Proportional | Proportional text. If this flag is not set, the text is mono-spaced. |
Regular | Normal text |
SansSerif | SansSerif text |
Serif | Serif text |
Subscript | Subscript text |
Superscript | Super script text |
Underline | Underlined text |
For an example, refer to IOcrPage.GetRecognizedCharacters.
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.
System.Object
System.ValueType
System.Enum
Leadtools.Forms.Ocr.OcrCharacterFontStyle
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7