Spread Windows Forms 12.0 Product Documentation
PasteCommand Constructor


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet.Commands Namespace > PasteCommand Class : PasteCommand Constructor
A GrapeCity.Spreadsheet.Worksheet object indicates the worksheet.
Row index of starting position of range to move.
Column index of starting position of range to move.
Row index of ending position of range to move.
Column index of ending position of range to move.
A GrapeCity.Spreadsheet.Worksheet object indicates the worksheet copied to.
Row index of starting position of destination.
Column index of starting position of destination.
Initializes a new instance of the PasteCommand class.
Syntax
'Declaration
 
Public Function New( _
   ByVal worksheet As Worksheet, _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal row2 As Integer, _
   ByVal column2 As Integer, _
   ByVal targetWorksheet As Worksheet, _
   ByVal toRow As Integer, _
   ByVal toColumn As Integer, _
   ByVal options 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 worksheet,
   int row,
   int column,
   int row2,
   int column2,
   Worksheet targetWorksheet,
   int toRow,
   int toColumn,
   ManipulationOptions options
)

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

Reference

PasteCommand Class
PasteCommand Members