RangesCollection
Copy Method (CellRange, Boolean, Boolean)
|
Copies the range to the specified range.
Namespace:
Spire.Xls.Collections
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public CellRange Copy(
CellRange destRange,
bool updateReference,
bool copyStyles
)
Public Function Copy (
destRange As CellRange,
updateReference As Boolean,
copyStyles As Boolean
) As CellRange
public:
CellRange^ Copy(
CellRange^ destRange,
bool updateReference,
bool copyStyles
)
member Copy :
destRange : CellRange *
updateReference : bool *
copyStyles : bool -> CellRange
Parameters
-
destRange
-
Type:
Spire.Xls
CellRange
Destination range.
-
updateReference
-
Type:
System
Boolean
Indicates whether to update reference cells.
-
copyStyles
-
Type:
System
Boolean
Indicates whether to copy styles.
Return Value
Type:
CellRange
Destination range
See Also