Indicates the font attributes for recognized characters.
[SerializableAttribute()]
[FlagsAttribute()]
public enum OcrCharacterFontStyle
<FlagsAttribute()>
<SerializableAttribute()>
Public Enum OcrCharacterFontStyle
[FlagsAttribute()]
[SerializableAttribute()]
public enum OcrCharacterFontStyle
typedef NS_OPTIONS(NSUInteger, LTOcrCharacterFontStyle)
public enum OcrCharacterFontStyle
Leadtools.Forms.Ocr.OcrCharacterFontStyle = function() { };
Leadtools.Forms.Ocr.OcrCharacterFontStyle.prototype = {<br/>
Regular = 0x00000000,
Bold = 0x00000001,
Italic = 0x00000002,
Underline = 0x00000004,
SansSerif = 0x00000008,
Serif = 0x00000010,
Proportional = 0x00000020,
Superscript = 0x00000040,
Subscript = 0x00000080,
Strikeout = 0x00000100,
};
[FlagsAttribute()]
[SerializableAttribute()]
public enum class OcrCharacterFontStyle
Members
Value | Member | Description |
---|---|---|
0x00000000 | Regular | Normal text |
0x00000001 | Bold | Bold text |
0x00000002 | Italic | Italic text |
0x00000004 | Underline | Underlined text |
0x00000008 | SansSerif | SansSerif text |
0x00000010 | Serif | Serif text |
0x00000020 | Proportional | Proportional text. If this flag is not set, the text is mono-spaced. |
0x00000040 | Superscript | Super script text |
0x00000080 | Subscript | Subscript text |
0x00000100 | Strikeout | Strikeout text |
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.
For an example, refer to IOcrPage.GetRecognizedCharacters.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET