ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / ART Component API Reference / ART Component Functions Reference / Edit Undo Functions / ART_edit_undo_clear
In This Topic
    ART_edit_undo_clear
    In This Topic

    This function clears all pending undo operations from memory.

    Declaration:

     
    Copy Code
    AT_ERRCOUNT ART_edit_undo_clear(HIGEAR hIGear);
    

    Arguments:

    Name Type Description
    hIGear HIGEAR HIGEAR handle to the image.

    Return Value:

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

    Supported Raster Image Formats:

    All pixel formats supported by ImageGear for C and C++.

    Sample:

    None

    Example:

     
    Copy Code
    AT_ERRCOUNT nErrcount;
    HIGEAR hIGear;
    nErrcount = ART_edit_undo_clear(hIGear);
    

    Remarks:

    A subsequent call to ART_edit_undo() has no effect on the marks associated with the specified HIGEAR image.

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