TOcrEngineEnv Class Reference

Link against: ocrsrv.lib

Capability Information

Required Capabilities

None


#include <
ocrcommon.h>

Detailed Description

OCR (Optical Character Recognition) Engine Environment Settings.

This class is for setting the thread priority and the maximum heap allocation for the ocr engine

Dll ocrsrv.lib
Since:
S60 3.1

Data Fields

TThreadPriority iPriority
 Thread priority.
TInt iMaxHeapSize
 The maximum heap size for the OCR process, must be larger than KMinHeapGrowBy x 1200 to do recognition for 1600x1200 images.

Field Documentation

TInt TOcrEngineEnv::iMaxHeapSize
 

The maximum heap size for the OCR process, must be larger than KMinHeapGrowBy x 1200 to do recognition for 1600x1200 images.

If this value is lower(equal) than KMinHeapGrowBy*1000, a leave will happen in CreateOCREngineL with KErrArgument

TThreadPriority TOcrEngineEnv::iPriority
 

Thread priority.

The Engine Factory will create a child thread for the OCR process, EPriorityLess is recommended for most cases


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

Copyright © Nokia Corporation 2001-2007
Back to top