Initializes a new instance of the
PasteCommand class.
Syntax
'Declaration
Public Function New( _
ByVal As Worksheet, _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Integer, _
ByVal column2 As Integer, _
ByVal As Worksheet, _
ByVal As Integer, _
ByVal toColumn As Integer, _
ByVal As ManipulationOptions _
)
'Usage
Dim worksheet As Worksheet
Dim row As Integer
Dim column As Integer
Dim row2 As Integer
Dim column2 As Integer
Dim targetWorksheet As Worksheet
Dim toRow As Integer
Dim toColumn As Integer
Dim options As ManipulationOptions
Dim instance As New PasteCommand(worksheet, row, column, row2, column2, targetWorksheet, toRow, toColumn, options)
public PasteCommand(
Worksheet ,
int ,
int column,
int ,
int column2,
Worksheet ,
int ,
int toColumn,
ManipulationOptions
)
Parameters
- worksheet
- A GrapeCity.Spreadsheet.Worksheet object indicates the worksheet.
- row
- Row index of starting position of range to move.
- column
- Column index of starting position of range to move.
- row2
- Row index of ending position of range to move.
- column2
- Column index of ending position of range to move.
- targetWorksheet
- A GrapeCity.Spreadsheet.Worksheet object indicates the worksheet copied to.
- toRow
- Row index of starting position of destination.
- toColumn
- Column index of starting position of destination.
- options
See Also