ClearUndo Method
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. WPF. SDK TXDrawing.from the private NuGet feed or Text Control Offline Packagesdll
Description
Clears the undo buffer of the TXDrawingCore instance.
Syntax
public void ClearUndo();Public Sub ClearUndo()Examples
The following example clears the undo history. The created object is then available to the surrounding document workflow.
tXDrawingCore.ClearUndo();
Console.WriteLine("TXDrawing Core is ready for use.");tXDrawingCore.ClearUndo()
Console.WriteLine("TXDrawing Core is ready for use.")