ImageGear Professional > API Reference Guide > ART Component API Reference > ART Component Functions Reference > Mark Management Functions > ART_mark_delete |
This function deletes the mark whose index block value is the same as hMarkIndex.
Copy Code
|
|
---|---|
AT_ERRCOUNT ART_mark_delete( HIGEAR hIGear, ART_MARK_INDEX hMarkIndex ); |
Name | Type | Description |
hIGear | HIGEAR | HIGEAR handle to the image. |
hMarkIndex | ART_MARK_INDEX | Mark Identifier. |
Returns the number of ImageGear errors that occurred during the function call.
All pixel formats supported by ImageGear Professional.
Copy Code
|
|
---|---|
HIGEAR hIGear; /* HIGEAR handle of image */ ART_MARK_INDEX hMarkDelete, hMarkIndex; /* Mark index */ /* numbers */ ART_mark_selected_first(hIGear, &hMarkIndex); if (hMarkIndex != ART_MARK_INVALID) { hMarkDelete = hMarkIndex; /* Set mark to be deleted to */ /* current index number */ ART_mark_delete(hIGear, hMarkDelete); } |
An error is set if any of the following conditions are met: