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

Glossary Item Box

This function may be called to update (repaint) the pan window, such as if the image has changed in memory.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_GUI_pan_update ( 
        HIGEAR hIGear, 
        DWORD dwGrpID, 
        HWND hWndPan, 
        BOOL bFullRepaint 
);

Arguments:

hIGear HIGEAR handle of image.
dwGrpID Identifier of group which is used for drawing image in the parent window.
hWndPan Handle of Pan window.
bFullRepaint TRUE = redraw image.

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.

Sample:

Panning, Display

Example:

  Copy Code
HIGEAR hIGear;  /* HIGEAR handle of image */
HWND hWndPalette; /* Handle of Pan window */
IG_GUI_pan_update ( hIGear, IG_GRP_DEFAULT, hWndPan, TRUE );
©2012. Accusoft Corporation. All Rights Reserved.