GcSpread.Sheets Namespace > Sheet type : copyTo Method |
var instance = new GcSpread.Sheets.Sheet(name); var value; // Type: any value = instance.copyTo(fromRow, fromColumn, toRow, toColumn, rowCount, columnCount, option);
function copyTo( fromRow : number, fromColumn : number, toRow : number, toColumn : number, rowCount : number, columnCount : number, option : CopyToOption ) : any;
activeSheet.getCell(0,0).value("1");
activeSheet.copyTo(0,0,1,1,2,2,GcSpread.Sheets.CopyToOption.Value);