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;
Indicates the font attributes for recognized characters.
Value | Meaning |
---|---|
L_OcrCharacterFontStyles_Regular | Normal text |
L_OcrCharacterFontStyles_Bold | Bold text |
L_OcrCharacterFontStyles_Italic | Italic text |
L_OcrCharacterFontStyles_Underline | Underlined text |
L_OcrCharacterFontStyles_SansSerif | SansSerif text |
L_OcrCharacterFontStyles_Serif | Serif text |
L_OcrCharacterFontStyles_Proportional | Proportional text. If this flag is not set, the text is mono-spaced. |
L_OcrCharacterFontStyles_Superscript | Super script text |
L_OcrCharacterFontStyles_Subscript | Subscript text |
L_OcrCharacterFontStyles_Strikeout | 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.