SpreadsheetGear 2017
ClearCommands(IWorkbook) Method






SpreadsheetGear.Commands Namespace > CommandManager Class > ClearCommands Method : ClearCommands(IWorkbook) Method
Specifies the workbook which was operated on.
Clears all undoable and redoable commands which were executed on the specified workbook.
Syntax
'Declaration
 
Public Overloads Sub ClearCommands( _
   ByVal workbook As IWorkbook _
) 
'Usage
 
Dim instance As CommandManager
Dim workbook As IWorkbook
 
instance.ClearCommands(workbook)
public void ClearCommands( 
   IWorkbook workbook
)
public procedure ClearCommands( 
    workbook: IWorkbook
); 
public function ClearCommands( 
   workbook : IWorkbook
);
public: void ClearCommands( 
   IWorkbook* workbook
) 
public:
void ClearCommands( 
   IWorkbook^ workbook
) 

Parameters

workbook
Specifies the workbook which was operated on.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CommandManager Class
CommandManager Members
Overload List