Available in LEADTOOLS Document and Medical Imaging toolkits.
AnnUndoEnable example for Visual Basic
' This example toggles the Undo feature
LEAD1.AnnUndoEnable = Not LEAD1.AnnUndoEnable