InsertCells(Worksheet,Int32,Int32,Worksheet,ManipulationOptions,Boolean,InsertShiftDirection,Boolean) Method
In This Topic
Initializes a new instance of the
ClipboardInsertCommand class.
Syntax
'Declaration
Public Overloads Shared Function InsertCells( _
ByVal As Worksheet, _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Worksheet, _
ByVal As ManipulationOptions, _
ByVal As Boolean, _
ByVal As InsertShiftDirection, _
ByVal As Boolean _
) As Command
'Usage
Dim sourceWorksheet As Worksheet
Dim row As Integer
Dim column As Integer
Dim targetWorksheet As Worksheet
Dim manipulationOptions As ManipulationOptions
Dim clearSource As Boolean
Dim insertOptions As InsertShiftDirection
Dim copyMode As Boolean
Dim value As Command
value = ClipboardInsertCommand.InsertCells(sourceWorksheet, row, column, targetWorksheet, 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.
- targetWorksheet
- The target worksheet.
- 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