SpreadsheetGear 2023
CreateCommandDelete(IRange,DeleteShiftDirection) Method


SpreadsheetGear.Commands Namespace > CommandManager Class > CreateCommandDelete Method : CreateCommandDelete(IRange,DeleteShiftDirection) Method
Specifies the range which this command will affect.
Specifies the direction which cells will be shifted.
Creates an instance of the default delete command.
Syntax
'Declaration
 
Public Overloads Overridable Function CreateCommandDelete( _
   ByVal range As IRange, _
   ByVal shiftDirection As DeleteShiftDirection _
) As Command
'Usage
 
Dim instance As CommandManager
Dim range As IRange
Dim shiftDirection As DeleteShiftDirection
Dim value As Command
 
value = instance.CreateCommandDelete(range, shiftDirection)
public virtual Command CreateCommandDelete( 
   IRange range,
   DeleteShiftDirection shiftDirection
)

Parameters

range
Specifies the range which this command will affect.
shiftDirection
Specifies the direction which cells will be shifted.
Remarks
Override this method to provide a custom implementation of this command.
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