ABBYY Mobile OCR Engine 4

Go to: Contents | Native Library API Reference | Enumerations

TFineCharacterAttributes

TFineCharacterAttributes enumeration constants are used as the mask in the CFineTextCharacter structure. The mask is an OR combination of these flags' values which define character attributes. These constants are defined using the BIT_FLAG macros.

typedef enum tagTFineCharacterAttributes {
  FCA_Italic                 = BIT_FLAG( 0 ),
  FCA_Bold                   = BIT_FLAG( 1 ),
  FCA_Underlined             = BIT_FLAG( 2 ),
  FCA_Strikethrough          = BIT_FLAG( 3 ),
  FCA_Smallcaps              = BIT_FLAG( 4 ),
  FCA_Superscript            = BIT_FLAG( 5 ),
  FCA_Uncertain              = BIT_FLAG( 16 ),
  FCA_BarcodeBinaryDataHexed = BIT_FLAG( 17 ),
  FCA_BarcodeBinaryZero      = BIT_FLAG( 18 ),
  FCA_BarcodeStartStopSymbol = BIT_FLAG( 19 ),
} TFineCharacterAttributes;

Elements

Name Description
FCA_Italic Specifies whether the character is italic.
FCA_Bold Specifies whether the character is bold.
FCA_Underlined Specifies whether the character is underlined.
FCA_Strikethrough Specifies whether the character is strikeout.
FCA_Smallcaps Specifies whether the character has the "small caps" style. This means that the small characters are displayed as small capitals.
FCA_Superscript Specifies whether the character is superscript.
FCA_Uncertain Specifies whether the character has been recognized uncertainly. The confidence level at which characters are marked as uncertain must be set during recognition as a TFineRecognitionConfidenceLevel constant.
FCA_BarcodeBinaryDataHexed Specifies a binary symbol that is written in hexadecimal format.
FCA_BarcodeBinaryZero Specifies a zero binary symbol replaced by character that is specified in the FineRecognizeBarcode function as unknownLetter for correct representation.
FCA_BarcodeStartStopSymbol Specifies the start and stop symbols. This flag is valid for Code39 and Codabar barcodes.

See also

CFineTextCharacter