UndoClear Method Example

This example clears the list of actions that can be undone for the active document.

ActiveDocument.UndoClear

Send feedback to MSDN.Look here for MSDN Online resources.