ImageGear Professional DLL v17.1 for Windows Accusoft
IG_REC_settings_load
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Settings Management Functions > IG_REC_settings_load

Glossary Item Box

Loads the settings from the specified file.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_settings_load(
   LPCSTR pFileName
);

Arguments:

pFileName Name of the file from which to load the settings.

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.

Remarks:

The function sets all the rest of the settings to default values before loading the settings from the file.

Example:

  Copy Code
AT_ERRCOUNT ErrCount = 0;
ErrCount = IG_REC_settings_save("settings.cfg");

//...

ErrCount = IG_REC_settings_load("settings.cfg");

©2012. Accusoft Corporation. All Rights Reserved.