Spread.Sheets Documentation
clipboardPaste type
Represents 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.
Inheritance Hierarchy

Object
   GC.Spread.Sheets.Commands.clipboardPaste

See Also

Reference

GC.Spread.Sheets.Commands Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.