ImageGear Professional DLL v17.1 for Windows Accusoft
IG_GUI_palette_update
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Core Component API Reference > Core Component Functions Reference > GUI Functions > GUI Palette Functions > IG_GUI_palette_update

Glossary Item Box

This function may be called to update (repaint) the palette window, if for example the image's DIB palette has been changed in memory by your application.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_GUI_palette_update ( 
        HIGEAR hIGear, 
        DWORD dwGrpID, 
        HWND hWndPalette 
);

Arguments:

hIGear HIGEAR handle of image.
dwGrpID Identifier of group where to get display options for creating palette.
hWndPalette Handle of palette window.

Return Value:

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

Supported Raster Image Formats:

All pixel formats supported by ImageGear Professional.

(Has an effect for Indexed images only.)

Sample:

Palette Edit, Display

Example:

  Copy Code
HIGEAR hIGear;   /* HIGEAR handle of image  */
HWND hWndPalette;  /* Handle of Palette window */
IG_GUI_palette_update ( hIGear, hWndPalette );
©2012. Accusoft Corporation. All Rights Reserved.