ImageGear Professional DLL v18.1 for Windows
IG_REC_document_open
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Formatted Output Functions > IG_REC_document_open

Glossary Item Box

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

©2014. Accusoft Corporation. All Rights Reserved.