Spread.Sheets Documentation
Commands type
Inheritance Hierarchy

Object
   GC.Spread.Sheets.Commands

Fields
 NameDescription
public Fieldstatic (Shared in Visual Basic)autoFitColumnRepresents the command used to automatically resize the column in a sheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.columns {Array} The resize columns; each item is an object which has a col.
* options.rowHeader {boolean} Whether the resized columns are in the row header area.
* options.autoFitType {GC.Spread.Sheets.AutoFitType} Whether the auto-fit action includes the header text.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)autoFitRowRepresents the command used to automatically resize the row in a sheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.rows {Array} The resize rows; each item is an object which has a row.
* options.columnHeader {boolean} Whether the resized rows are in the column header area.
* options.autoFitType {GC.Spread.Sheets.AutoFitType} Whether the auto-fit action includes the header text.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)cancelInputRepresents the command used to stop cell editing and cancel input.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)changeFormulaReferenceRepresents the command used to switch the formula reference between relative, absolute, and mixed when editing formulas.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)clearRepresents the command used to clear the cell value.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)clearAndEditingRepresents the command used to clear the active cell value and enters edit mode.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)clearValuesRepresents the command used to clear cell values on a worksheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.ranges {Array} The clear cell value ranges whose item type is GC.Spread.Sheets.Range.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)clipboardPasteRepresents the command used for a Clipboard paste on the worksheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.fromSheet {GC.Spread.Sheets.Worksheet} The source sheet.
* options.fromRanges {Array} The source range array which item type is GC.Spread.Sheets.Range.
* options.pastedRanges {Array} The target range array which item type is GC.Spread.Sheets.Range.
* options.isCutting {boolean} Whether the operation is cutting or copying.
* options.clipboardText {string} The text on the clipboard.
* options.pasteOption {GC.Spread.Sheets.ClipboardPasteOptions} The Clipboard pasting option that indicates which content to paste.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)commitArrayFormulaRepresents the command used to commit the cell editing and sets the array formula to the active range.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)commitInputNavigationDownRepresents the command used to stop cell editing and moves the active cell to the next row.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)commitInputNavigationUpRepresents the command used to stop cell editing and moves the active cell to the previous row.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)copyRepresents the command used to copy the selected item text to the Clipboard.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)cutRepresents the command used to cut the selected item text to the Clipboard.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)deleteFloatingObjectsRepresents the command for deleting the floating objects.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and a method execute that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)dragCopyFloatingObjectsRepresents the command used to drag and copy the floating objects on the sheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.floatingObjects {Array} The names array of floating objects.
* options.offsetX The horizontal offset.
* options.offsetY The vertical offset.
isUndo {boolean} true if this is an undo operation; otherwise false.  
public Fieldstatic (Shared in Visual Basic)dragDropRepresents the command used to drag a range and drop it onto another range on the worksheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operation, and a method execute that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
commandOptions {Object} The options of the operation.
* commandOptions.sheetName {string} The sheet name.
* commandOptions.fromRow {number} The source row index for the drag drop.
* commandOptions.fromColumn {number} The source column index for the drag drop.
* commandOptions.toRow {number} The destination row index for the drag drop.
* commandOptions.toColumn {number} The destination column index for the drag drop.
* commandOptions.rowCount {number} The row count for the drag drop.
* commandOptions.columnCount {number} The column count for the drag drop.
* commandOptions.copy {boolean} If set to true copy; otherwise, cut if false.
* commandOptions.insert {boolean} If set to true inserts the drag data in the drop row or column.
* commandOptions.option {GC.Spread.Sheets.CopyToOptions} Indicates the content type to drag and drop.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)editCellRepresents the command used to apply a new value to a cell on the worksheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.row {number} The row index of the cell.
* options.col {number} The column idnex of the cell.
* options.newValue {Object} The new value of the cell.
* options.autoFormat {boolean} Whether to format the new value automatically.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)expandColumnOutlineRepresents the command to expand or collapse a column range group.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.index {number} The outline summary index.
* options.level {number} The outline level.
* options.collapsed {boolean} Whether to make the outline collapsed or expanded.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)expandColumnOutlineForLevelRepresents the command used to expand or collapse column range groups on the same level.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.level {number} The outline level.
isUndo {boolean} true if this an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)expandRowOutlineRepresents the command to expand or collapse a row range group.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.index {number} The outline summary index.
* options.level {number} The outline level.
* options.collapsed {boolean} Whether to make the outline collapsed or expanded.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)expandRowOutlineForLevelRepresents the command used to expand or collapse row range groups on the same level.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.level {number} The outline level.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)fillRepresents the command used to drag and fill a range on the sheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operation, and a method execute that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.startRange {GC.Spread.Sheets.Range} The start range.
* options.fillRange {GC.Spread.Sheets.Range} The fill range.
* options.autoFillType {GC.Spread.Sheets.Fill.AutoFillType} The auto fill type.
* options.fillDirection {GC.Spread.Sheets.Fill.FillDirection} The fill direction.
isUndo {boolean} true if an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)moveFloatingObjectsRepresents the command for moving floating objects.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.floatingObjects {Array} The names array of floating objects.
* options.offsetX The horizontal offset.
* options.offsetY The vertical offset.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)moveToNextCellRepresents the command used to move the active cell to the next cell.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)moveToNextCellThenControlRepresents the command used to select the next control if the active cell is the last visible cell; otherwise, move the active cell to the next cell.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)moveToPreviousCellRepresents the command used to move the active cell to the previous cell.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)moveToPreviousCellThenControlRepresents the command used to select the previous control if the active cell is the first visible cell; otherwise, move the active cell to the previous cell.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)navigationBottomRepresents the command used to move the active cell to the last row.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)navigationDownRepresents the command used to move the active cell to the next row.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)navigationEndRepresents the command used to move the active cell to the last column.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)navigationEnd2Represents the command used to move the active cell to the last column without regard to frozen trailing columns.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)navigationFirstRepresents the command used to move the active cell to the first cell in the sheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)navigationHomeRepresents the command used to move the active cell to the first column.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and a method execute that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)navigationHome2Represents the command used to move the active cell to the first column without regard to frozen columns.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute metod that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)navigationLastRepresents the command used to move the active cell to the last cell in the sheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)navigationLeftRepresents the command used to move the active cell to the previous column.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)navigationNextSheetRepresents the command used to move the active sheet to the next sheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)navigationPageDownRepresents the command used to move the active cell down one page of rows.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)navigationPageUpRepresents the command used to move the active cell up one page of rows.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)navigationPreviousSheetRepresents the command used to move the active sheet to the previous sheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)navigationRightRepresents the command used to move the active cell to the next column.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)navigationTopRepresents the command used to move the active cell to the first row.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)navigationUpRepresents the command used to move the active cell to the previous row.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)outlineColumnRepresents the command for grouping a column outline (range group) on a sheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.index {number} The outline starting index.
* options.count {number} The number of rows or columns to group or ungroup in the outline.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)outlineRowRepresents the command for grouping a row outline (range group) on a sheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.index {number} The outline starting index.
* options.count {number} The number of rows or columns to group or ungroup in the outline.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)pasteRepresents the command used to paste the selected items from the Clipboard to the current sheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)pasteFloatingObjectsRepresents the command for pasting the floating objects on the sheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and a method execute that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)redoRepresents the command used to perform a redo of the most recently undone edit or action.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)removeColumnOutlineRepresents the command for ungrouping a column outline (range group) on a sheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.index {number} The outline starting index.
* options.count {number} The number of rows or columns to group or ungroup in the outline.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)removeRowOutlineRepresents the command for ungrouping a row outline (range group) on a sheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.index {number} The outline starting index.
* options.count {number} The number of rows or columns to group or ungroup in the outline.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)renameSheetRepresents the command used to rename a worksheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.name {string} The sheet's new name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)resizeColumnRepresents the command used to resize the column on a worksheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.columns {Array} The resize columns; each item is an object which has firstCol and lastCol.
* options.size {number} The size of the column that is being resized.
* options.rowHeader {boolean} Whether the column being resized is in the row header area.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)resizeFloatingObjectsRepresents the command for resizing floating objects.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.floatingObjects {Array} The names array of floating objects.
* options.offsetX The offset left.
* options.offsetY The offset top.
* options.offsetWidth The offset width.
* options.offsetHeight The offset height.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)resizeRowRepresents the command used to resize the row on a worksheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.rows {Array} The resize rows; each item is an object which has firstRow and lastRow.
* options.size {number} The size of the row that is being resized.
* options.columnHeader {boolean} Whether the row being resized is in the column header area.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)selectionBottomRepresents the command used to extend the selection to the last row.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)selectionDownRepresents the command used to extend the selection down one row.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)selectionEndRepresents the command used to extend the selection to the last column.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)selectionFirstRepresents the command used to extend the selection to the first cell.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)selectionHomeRepresents the command used to extend the selection to the first column.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)selectionLastRepresents the command used to extend the selection to the last cell.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)selectionLeftRepresents the command used to extend the selection one column to the left.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)selectionPageDownRepresents the command used to extend the selection down to include one page of rows.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)selectionPageUpRepresents the command used to extend the selection up to include one page of rows.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)selectionRightRepresents the command used to extend the selection one column to the right.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)selectionTopRepresents the command used to extend the selection to the first row.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)selectionUpRepresents the command used to extend the selection up one row.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)selectNextControlRepresents the command used to select the next control.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)selectPreviousControlRepresents the command used to select the previous control. * The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute operation or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)undoRepresents the command used to perform an undo of the most recent edit or action.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
public Fieldstatic (Shared in Visual Basic)zoomRepresents the command used to zoom the sheet.
* The command has a boolean field canUndo that indicates whether the command supports undo and redo operations, and an execute method that performs an execute or undo operation.
* The arguments of the execute method are as follows.
context {GC.Spread.Sheets.Workbook} The context of the operation.
options {Object} The options of the operation.
* options.sheetName {string} The sheet name.
* options.zoomFactor {number} The zoom factor.
isUndo {boolean} true if this is an undo operation; otherwise, false.  
Top
See Also

Reference

GC.Spread.Sheets Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.