ClipboardInsertCommand Constructor
In This Topic
Initializes a new instance of the
ClipboardPasteCommand class.
Syntax
'Declaration
Public Function New( _
ByVal As Worksheet, _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Integer, _
ByVal columnCount As Integer, _
ByVal As Worksheet, _
ByVal As Integer, _
ByVal targetColumn As Integer, _
ByVal As ManipulationOptions, _
ByVal As Boolean, _
ByVal As InsertShiftDirection, _
ByVal 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)
public ClipboardInsertCommand(
Worksheet ,
int ,
int column,
int ,
int columnCount,
Worksheet ,
int ,
int targetColumn,
ManipulationOptions ,
bool ,
InsertShiftDirection ,
bool
)
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