ImageGear Professional DLL v18.1 for Windows
IG_REC_settings_load
Send Feedback
ImageGear Professional v18.1 > 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:

Name Type Description
pFileName LPCSTR 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.

Example:

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

//...

ErrCount = IG_REC_settings_load("settings.cfg");

Remarks:

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

©2014. Accusoft Corporation. All Rights Reserved.