Get the commands use for editing.
'Declaration
Public Shared Function GetEditCommands( _
ByVal As IWorksheet, _
ByVal As Integer, _
ByVal editingColumn As Integer, _
ByVal As Boolean, _
ByVal autoCreateCalcuatedColumns As Boolean, _
ByVal autoExpandTable As Boolean, _
ByVal As CellValue, _
ByVal As String, _
ByVal As Boolean _
) As Command()
'Usage
Dim worksheet As IWorksheet
Dim editingRow As Integer
Dim editingColumn As Integer
Dim isSetMultipleCells As Boolean
Dim autoCreateCalcuatedColumns As Boolean
Dim autoExpandTable As Boolean
Dim cellValue As CellValue
Dim formula As String
Dim isArrayFormula As Boolean
Dim value() As Command
value = UIHelper.GetEditCommands(worksheet, editingRow, editingColumn, isSetMultipleCells, autoCreateCalcuatedColumns, autoExpandTable, cellValue, formula, isArrayFormula)
Parameters
- worksheet
- the worksheet that current editing.
- editingRow
- the row postion that current editing.
- editingColumn
- the column position that current editing.
- isSetMultipleCells
- autoCreateCalcuatedColumns
- A boolean value indicates the calculated columns will be created when enter formula
- autoExpandTable
- A boolean value indicates affected table will be expand
- cellValue
- editing cell value.
- formula
- editing formula.
- isArrayFormula
- A boolean value indicates is setting array formula.
Return Value
Array of commands that could be used for editing