Combines the current range with another cell range.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public RangesCollection Union(
CellRange range
)
Public Function Union (
range As CellRange
) As RangesCollection
public:
RangesCollection^ Union(
CellRange^ range
)
member Union :
range : CellRange -> RangesCollection
Parameters
-
range
-
Type:
Spire.Xls
CellRange
The cell range to combine with the current range.
Return Value
Type:
RangesCollection
A new RangesCollection containing both the current range and the specified range.
See Also