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_save
In This Topic
    IG_TWAIN_custom_DS_data_save
    In This Topic

    This function queries the data source for its current settings, and saves these settings to the specified file.

    Declaration:

     
    Copy Code
    AT_ERRCOUNT ACCUAPI IG_TWAIN_custom_DS_data_save(
         LPCSTR lpszFileName
    );
    

    Arguments:

    Name Type Description
    lpszFileName LPCSTR Specifies the name of the file to which to save 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