Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / DeleteCellsRangeCommand Class / Create Method / Create(IWorksheet,DeleteShiftDirection,Int32,Int32,Int32,Int32) Method
The source worksheet.
A value indicates how cells are shifted.


In This Topic
    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 sourceWorksheet As IWorksheet, _
       ByVal shiftDirection As DeleteShiftDirection, _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal row2 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