TOCRTextLineInfo Class Reference

API published in: S60 3rd Ed FP 1

Link against: ocrsrv.lib

Capability Information

Required Capabilities

None


#include <ocrcommon.h>

Detailed Description

OCR (Optical Character Recognition) Text Line Information.

This class holds the information from the OCR engine after the recognition Note that all memory ownership belongs to the OCR engine, so do not need to either allocate memory for it or push it to the CleanupStack. Engine will release the memory whenever necessary


Data Fields

HBufC16 *  iText
  Text buffer for the line.
TRect  iRect
  Region coordinate to be processed.
TRect *  iCharRect
  Array of the character rects.
TInt  iCharCount
  Number of characters.

Field Documentation

TInt TOCRTextLineInfo::iCharCount
 

Number of characters.

TRect* TOCRTextLineInfo::iCharRect
 

Array of the character rects.

(Not Own)

TRect TOCRTextLineInfo::iRect
 

Region coordinate to be processed.

HBufC16* TOCRTextLineInfo::iText
 

Text buffer for the line.

Note that after layout analysis, this is NULL and the buffer will be filled after recognition (Not Own)


The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top