ImageGear Professional DLL v18.1 for Windows
ART_mark_delete
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > ART Component API Reference > ART Component Functions Reference > Mark Management Functions > ART_mark_delete

Glossary Item Box

This function deletes the mark whose index block value is the same as hMarkIndex.

Declaration:

  Copy Code
AT_ERRCOUNT ART_mark_delete(
        HIGEAR hIGear, 
        ART_MARK_INDEX hMarkIndex
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle to the image.
hMarkIndex ART_MARK_INDEX Mark Identifier.

Return Value:

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

Supported Raster Image Formats:

All pixel formats supported by ImageGear Professional.

Sample:

Annotation

Example:

  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);
}

Remarks:

An error is set if any of the following conditions are met:

©2014. Accusoft Corporation. All Rights Reserved.