ClearUndo Method
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. WinForms. SDK TXDrawing.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Clears the undo buffer of the TX Drawing Control.
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.
tXDrawingControl.ClearUndo();
Console.WriteLine("TXDrawing Control is ready for use.");tXDrawingControl.ClearUndo()
Console.WriteLine("TXDrawing Control is ready for use.")