Contents - Index - Previous - Next


ClearUndo method




Declaration
function ClearUndo: Boolean;

Description

Clears the undo buffer so that no changes to the document can be backed out.

Use ClearUndo to commit changes to the document. After calling ClearUndo, the CanUndo method returns False and the Undo method does nothing.

Returns True on success. Returns False on failure.