ImageGear for C and C++ on Windows v19.6 - Updated
IG_gui_switch_showiccwarning
API Reference Guide > GUI Component API Reference > GUI Component Functions Reference > ICC Functions > IG_gui_switch_showiccwarning

This function switches the state of the registry entry that determines whether to show the warning dialog related to embedded color profile or non-RGB color format, and returns the result after switching.

Declaration:

 
Copy Code
AT_BOOL ACCUAPI IG_gui_switch_showiccwarning();

Arguments:

None

Return Value:

TRUE/FALSE

Supported Raster Image Formats:

N/A

Sample:

Image Processing

Example:

 
Copy Code
AT_BOOL bShowICCWarning = FALSE;
/* Switch the state and return the result after switching */
bShowICCWarning = IG_gui_switch_showiccwarning();
...