ImageGear for C and C++ on Windows v19.10 - Updated
IG_load_extra_mode_get
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Load Functions > IG_load_extra_mode_get

This function retrieves the last setting made by calling function IG_load_extra_mode_set().

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_load_extra_mode_get(
   enumIGExtraMode* lpMode
);

Arguments:

Name Type Description
lpMode enumIGExtraMode* Pointer to an enumIGExtraMode variable to receive the current Extra channel loading mode setting.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

Filters

Example:

 
Copy Code
enumIGExtraMode ExtraMode;   
AT_ERRCOUNT nErrCount = IG_load_extra_mode_get ( &ExtraMode );