ImageGear Professional DLL v17.1 for Windows Accusoft
IG_REC_document_open
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > 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:

lpDataFileName Specifies the valid data file to be copied into the document.
lpDocument 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

©2012. Accusoft Corporation. All Rights Reserved.