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

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

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_load_alpha_mode_get( enumIGAlphaMode* lpMode);

Arguments:

Name Type Description
lpMode enumIGAlphaMode* Pointer to an enumIGAlphaMode variable to receive the current Alpha 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
enumIGAlphaMode AlphaMode;   
IG_load_alpha_mode_get ( &AlphaMode );