Indicates the font attributes for recognized characters.
enum
{
L_OcrCharacterFontStyles_Regular = 0,
L_OcrCharacterFontStyles_Bold = 1 << 0,
L_OcrCharacterFontStyles_Italic = 1 << 1,
L_OcrCharacterFontStyles_Underline = 1 << 2,
L_OcrCharacterFontStyles_SansSerif = 1 << 3,
L_OcrCharacterFontStyles_Serif = 1 << 4,
L_OcrCharacterFontStyles_Proportional = 1 << 5,
L_OcrCharacterFontStyles_Superscript = 1 << 6,
L_OcrCharacterFontStyles_Subscript = 1 << 7,
L_OcrCharacterFontStyles_Strikeout = 1 << 8,
};
typedef L_UINT L_OcrCharacterFontStyles;
Normal text.
Bold text.
Italic text.
Underlined text.
SansSerif text.
Serif text.
Proportional text. If this flag is not set, the text is mono-spaced.
Super script text.
Subscript text.
Strikeout text.
This enumerated type is used by the following structure:
The L_OcrCharacter.FontStyles property contains the font attributes of the recognized character.
The values of L_OcrCharacterFontStyles can be combined together (OR-ed).
Note: SansSerif, Serif, Superscript, and Subscript attributes are not supported in the LEADTOOLS OCR Module - LEAD Engine.