SpreadsheetGear 2023
CreateCommandInsert(IRange,InsertShiftDirection) Method


SpreadsheetGear.Commands Namespace > CommandManager Class > CreateCommandInsert Method : CreateCommandInsert(IRange,InsertShiftDirection) Method
Specifies the range which this command will affect.
Specifies the direction which cells will be shifted.
Creates an instance of the default insert command.
Syntax
'Declaration
 
Public Overloads Overridable Function CreateCommandInsert( _
   ByVal range As IRange, _
   ByVal shiftDirection As InsertShiftDirection _
) As Command
'Usage
 
Dim instance As CommandManager
Dim range As IRange
Dim shiftDirection As InsertShiftDirection
Dim value As Command
 
value = instance.CreateCommandInsert(range, shiftDirection)
public virtual Command CreateCommandInsert( 
   IRange range,
   InsertShiftDirection 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