Create(IWorksheet,DeleteShiftDirection,Int32,Int32,Int32,Int32) Method
In This Topic
Initializes a new instance of the
DeleteCellsRangeCommand class.
Syntax
'Declaration
Public Overloads Shared Function Create( _
ByVal As IWorksheet, _
ByVal As DeleteShiftDirection, _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Integer, _
ByVal column2 As Integer _
) As RangeActionsCommand
'Usage
Dim sourceWorksheet As IWorksheet
Dim shiftDirection As DeleteShiftDirection
Dim row As Integer
Dim column As Integer
Dim row2 As Integer
Dim column2 As Integer
Dim value As RangeActionsCommand
value = DeleteCellsRangeCommand.Create(sourceWorksheet, shiftDirection, row, column, row2, column2)
Parameters
- sourceWorksheet
- The source worksheet.
- shiftDirection
- A value indicates how cells are shifted.
- row
- column
- row2
- column2
See Also