Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ClipboardInsertCommand Class / ClipboardInsertCommand Constructor
The source worksheet.
An integer value indicates the top row index of source cell range.
An integer value indicates the left column index of source cell range.
An integer value indicates the row count of source cell range.
An integer value indicates the column count of source cell range.
The target worksheet.
An integer value indicates the top row index of target cell range.
An integer value indicates the left column index of target cell range.
A GrapeCity.Spreadsheet.ManipulationOptions value indicates the processing data options.
A boolean value indicates whether the source cell range will be clear.
An GrapeCity.Spreadsheet.InsertShiftDirection value indicates how cells are shifted.


In This Topic
ClipboardInsertCommand Constructor
In This Topic
Initializes a new instance of the ClipboardPasteCommand class.
Syntax
'Declaration
 
Public Function New( _
   ByVal sourceWorksheet As Worksheet, _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal rowCount As Integer, _
   ByVal columnCount As Integer, _
   ByVal targetWorksheet As Worksheet, _
   ByVal targetRow As Integer, _
   ByVal targetColumn As Integer, _
   ByVal manipulationOptions As ManipulationOptions, _
   ByVal clearSource As Boolean, _
   ByVal insertOptions As InsertShiftDirection, _
   ByVal copyMode As Boolean _
)
 
'Usage
 
Dim sourceWorksheet As Worksheet
Dim row As Integer
Dim column As Integer
Dim rowCount As Integer
Dim columnCount As Integer
Dim targetWorksheet As Worksheet
Dim targetRow As Integer
Dim targetColumn As Integer
Dim manipulationOptions As ManipulationOptions
Dim clearSource As Boolean
Dim insertOptions As InsertShiftDirection
Dim copyMode As Boolean
 
Dim instance As New ClipboardInsertCommand(sourceWorksheet, row, column, rowCount, columnCount, targetWorksheet, targetRow, targetColumn, manipulationOptions, clearSource, insertOptions, copyMode)

Parameters

sourceWorksheet
The source worksheet.
row
An integer value indicates the top row index of source cell range.
column
An integer value indicates the left column index of source cell range.
rowCount
An integer value indicates the row count of source cell range.
columnCount
An integer value indicates the column count of source cell range.
targetWorksheet
The target worksheet.
targetRow
An integer value indicates the top row index of target cell range.
targetColumn
An integer value indicates the left column index of target cell range.
manipulationOptions
A GrapeCity.Spreadsheet.ManipulationOptions value indicates the processing data options.
clearSource
A boolean value indicates whether the source cell range will be clear.
insertOptions
An GrapeCity.Spreadsheet.InsertShiftDirection value indicates how cells are shifted.
copyMode
See Also