In This Topic ▼

PROGRESSDATA2

typedef struct _tagProgressData2 
{ 
   L_UINT uStructSize; 
   DOC2_OCRPROCID Id; 
   L_INT nPercent; 
} PROGRESSDATA2, * pPROGRESSDATA2; 

The PROGRESSDATA2 structure provides progress information. It is used by the PROGRESSCALLBACK2 function.

Members

uStructSize

Structure size. Set it to sizeof(PROGRESSDATA2).

Id

Identifier of the process currently running. For a list of possible values, refer to DOC2_OCRPROCID.

nPercent

Progress of the current process expressed as a percentage.

Comments

pPROGRESSDATA2 is a pointer to a PROGRESSDATA2 structure. If the function parameter type is pPROGRESSDATA2, declare a PROGRESSDATA2 variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pPROGRESSDATA2 variable is necessary only if the program requires a pointer.

This structure is filled only when PROGRESSCALLBACK2 is called. The PROGRESSCALLBACK2 function is called if you have set a callback function with L_Doc2SetProgressCB / L_Doc2SetProgressCBExt.

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

LEADTOOLS OCR Module - OmniPage Engine C API Help