This documentation is archived and is not being maintained.

_Document.UndoClear Method

Clears the list of actions that can be undone for the specified document. Corresponds to the list of items that appears when you click the arrow beside the Undo button on the Standard toolbar.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

void UndoClear()

Use this method to keep programmatic actions from appearing in the Undo box.

Show: