ImageGear for C and C++ on Windows v19.6 - Updated
IG_TWAIN_custom_DS_data_load
API Reference Guide > TWAIN Component API Reference > TWAIN Component Functions Reference > General Functions > IG_TWAIN_custom_DS_data_load

This function loads the settings from the specified file, and sets the data source with these settings.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_TWAIN_custom_DS_data_load(
      LPCSTR lpszFileName
);

Arguments:

Name Type Description
lpszFileName LPCSTR Specifies the name of the file from which to load the settings.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

Twain