AnnUndoDepth example for C++ Builder

// Make some changes and then call this method. 
// See how the last change is undone. 
LEADAnn1->AnnUndoDepth= LEADAnn1->AnnUndoDepth + 5;