ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Display Functions > IG_dspl_grp_reset |
This function resets all the options of the specified group to its default values.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_dspl_grp_reset( [IN] HIGEAR hIGear, [IN] DWORD dwGrpID ); |
Name | Type | Description |
hIGear | HIGEAR | ImageGear handle of image. |
dwGrpID | DWORD | Identifier of group to reset. |
Returns the number of ImageGear errors that occurred during this function call.
All pixel formats supported by ImageGear Professional.
Copy Code
|
|
---|---|
HIGEAR hIGear; /* HIGEAR handle of image */ DWORD nGrpID; /* display group identifier */ ... IG_dspl_grp_reset( hIGear, nGrpID ); ... |
Please note the application code is responsible for freeing memory allocated for options such as TranspMaskandBkBrush. This function does not free it.
This function also removes the flag that marks this group as "used." It may be set again by any display function that specifies using this group identifier.