Adds the current state of the header or footer to the undo stack. Programmatic changes performed with the header's or footer's properties and methods are not automatically added to a TextControl's undo stack. Calling this method is not necessary, when the header's or footer's text and/or formatting is changed.

Introduced: 32.0.


public void AddUndoUnit();
Public Sub AddUndoUnit()