Creates a new document and fills it with data from the specified data file.
Declaration:
|
Copy Code |
AT_ERRCOUNT ACCUAPI IG_REC_document_open(
const LPSTR lpDataFileName,
HIG_REC_DOCUMENT* lpDocument
);
|
Arguments:
Name |
Type |
Description |
lpDataFileName |
const LPSTR |
Specifies the valid data file to be copied into the document. |
lpDocument |
HIG_REC_DOCUMENT* |
Pointer to the document to be open. |
Return Value:
Returns the number of ImageGear errors that occurred during this function call.
Supported Raster Image Formats:
This function does not process image pixels.
Example:
|
Copy Code |
AT_ERRCOUNT ErrCount = 0;
HIG_REC_DOCUMENT hRecDocument = 0;
ErrCount += IG_REC_document_open("recognition_data.bin", &hRecDocument);
//...
ErrCount += IG_REC_document_close(hRecDocument);
|
See Also
HIG_REC_DOCUMENT