CellsCopyColumns Method (Cells, Int32, Int32, Int32, Int32)

Copies data and formats of the whole columns.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.6.0.0 (21.6)
Syntax
public void CopyColumns(
	Cells sourceCells,
	int sourceColumnIndex,
	int sourceTotalColumns,
	int destinationColumnIndex,
	int destinationTotalColumns
)

Parameters

sourceCells
Type: Aspose.CellsCells
Source Cells object contains data and formats to copy.
sourceColumnIndex
Type: SystemInt32
Source column index.
sourceTotalColumns
Type: SystemInt32
The number of the source columns.
destinationColumnIndex
Type: SystemInt32
Destination column index.
destinationTotalColumns
Type: SystemInt32
The number of the destination columns.
See Also