Copies a range to the specified range.
Name | Type | Description |
destination | ApiRange | Specifies a new range to which the specified range will be copied. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oRange = oWorksheet.GetRange("A1"); oRange.SetValue("This is a sample text which is copied to the range A3."); oRange.Copy(oWorksheet.GetRange("A3")); builder.SaveFile("xlsx", "Copy.xlsx"); builder.CloseFile();