Stops recording the most recently started composite operation and discards the records created so far.
Namespace: MindFusion.Spreadsheet
Assembly: MindFusion.Spreadsheet.WinForms
SyntaxC#
Copy Code
|
|---|
public void CancelCompositeOperation () |
Visual Basic
Copy Code
|
|---|
Public Sub CancelCompositeOperation () |
RemarksThe usual scenario for cancelling a composite command is when an exception happens while the command is active. The code below illustrates this scenario.
C#
Copy Code
|
|---|
var command = workbook.StartCompositeOperation(); |
Visual Basic
Copy Code
|
|---|
Dim command = workbook.StartCompositeOperation() |
Alternatively, the command can be cancelled by calling its Cancel method.
See Also