L_OcrCharacterFontStyles

Summary

Indicates the font attributes for recognized characters.

Syntax

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; 

Members

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.

Comments

This enumerated type is used by the following structure:

L_OcrCharacter

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.

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - LEAD Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.