Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> <SerializableAttribute()> Public Enum OcrCharacterFontStyle Inherits Enum |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[FlagsAttribute()] [SerializableAttribute()] public enum OcrCharacterFontStyle : Enum |
C++/CLI | |
---|---|
[FlagsAttribute()] [SerializableAttribute()] public enum class OcrCharacterFontStyle : public Enum |
Member | Description |
---|---|
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 |
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 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