ImageGear for C and C++ on Windows v20.3 - Updated
IG_GUI_color_profile_update
API Reference Guide > Core Component API Reference > Core Component Functions Reference > GUI Functions > GUI Color Profile Functions > IG_GUI_color_profile_update

This function should be called when a new image is loaded into the Color Profile window.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_GUI_color_profile_update (
        HIGEAR hIGear, 
        DWORD dwGrpID, 
        HWND hWNDProfile
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle of image.
dwGrpID DWORD Display group identifier used for image drawing which options to be used in GUI calculations.
HWNDProfile HWND Handle of GUI Profile window.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

Display

Remarks:

This function updates the client area of the Color Profile GUI window specified by hwndProfile. If the image handle associated with the GUI window is not the same as the image pointed to by the hIGear parameter, this function will update hWNDProfile to point to the new HIGEAR image.

Is this page helpful?
Yes No
Thanks for your feedback.