ImageGear Professional v18.2 > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Formatted Output Functions > IG_REC_document_open |
Creates a new document and fills it with data from the specified data file.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_document_open(
const LPSTR lpDataFileName,
HIG_REC_DOCUMENT* lpDocument
);
|
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. |
This function does not process image pixels.
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); |