function Leadtools.Annotations.Automation.AnnAutomationUndoRedoObject()
For an example, refer to AnnAutomation.GetUndoRedoObject.
Leadtools.Annotations.Automation Namespace