ImageGear Professional DLL v18.1 for Windows
ART_edit_undo_count
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > ART Component API Reference > ART Component Functions Reference > Edit Undo Functions > ART_edit_undo_count

Glossary Item Box

This function returns (in lpUndoCount) the number of times that ART_edit_undo() can be called.

Declaration:

  Copy Code
AT_ERRCOUNT ART_edit_undo_count(
        HIGEAR hIGear, 
        LPDWORD lpUndoCount
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle to the image.
lpUndoCount LPDWORD A far pointer that returns the number of undo operations that can be performed.

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  */
AT_ERRCOUNT   nErrcount;    /* tally of IG errors on stack */
DWORD        dwMarkCount;  /* count of potential undos */
nErrcount = ART_edit_undo_count(hIGear, &dwMarkCount);

Remarks:

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

©2014. Accusoft Corporation. All Rights Reserved.