ABBYY Mobile OCR Engine 4

Go to: Contents | Native Library API Reference | Structures

CFineTextBlock Structure

This structure describes a block of the recognized text.

C Syntax
typedef struct tagCFineTextBlock {
    CFineTextLine*  Lines;
    int             LinesCount; 
    RECT*           RegionRects; 
    int             RegionRectsCount;
    DWORD           Attributes
} CFineTextBlock;

Fields

Name Type Description
Attributes DWORD Stores the attributes of the text block as the OR combination of the TFineTextBlockAttributes constants.
Lines CFineTextLine* Stores the pointer to an array of text lines.
LinesCount int Stores the number of text lines.
RegionRects RECT* Stores the pointer to an array of rectangles which describes the region of text block. A region is a set of rectangles positioned one under another in such a way that the top line of the lower rectangle is the bottom line of the upper one (so that the rectangles do not overlap).
RegionRectsCount int Stores the number of region rectangles.

Input parameter

An array of objects of this type is passed as an input parameter to the FineRecognizeBlocks function.

See also

CFineLayout