Pastes the Range object to the specified range.
Name | Type | Description |
rangeFrom | ApiRange | Specifies the range to be pasted to the current range |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); oWorksheet.GetRange("B4").SetValue("1"); oWorksheet.GetRange("C4").SetValue("2"); oWorksheet.GetRange("D4").SetValue("3"); var oRangeFrom = oWorksheet.GetRange("B4:D4"); var oRange = oWorksheet.GetRange("A1:C1"); oRange.Paste(oRangeFrom); builder.SaveFile("xlsx", "Paste.xlsx"); builder.CloseFile();