ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / TWAIN Component API Reference / TWAIN Component Functions Reference / General Functions / IG_TWAIN_custom_DS_data_load
In This Topic
    IG_TWAIN_custom_DS_data_load
    In This Topic

    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