GrapeCity.Xaml.SpreadSheet.Data
GetIntersect Method


The first cell range.
The second cell range.
The maximum row count.
The maximum column count.
Gets the intersection of two cell ranges.
Syntax
'Declaration
 
Public Shared Function GetIntersect( _
   ByVal cellRange1 As CellRange, _
   ByVal cellRange2 As CellRange, _
   ByVal maxRowCount As Integer, _
   ByVal maxColumnCount As Integer _
) As CellRange
'Usage
 
Dim cellRange1 As CellRange
Dim cellRange2 As CellRange
Dim maxRowCount As Integer
Dim maxColumnCount As Integer
Dim value As CellRange
 
value = CellRange.GetIntersect(cellRange1, cellRange2, maxRowCount, maxColumnCount)
public static CellRange GetIntersect( 
   CellRange cellRange1,
   CellRange cellRange2,
   int maxRowCount,
   int maxColumnCount
)

Parameters

cellRange1
The first cell range.
cellRange2
The second cell range.
maxRowCount
The maximum row count.
maxColumnCount
The maximum column count.

Return Value

Returns null if there is no intersection, or the cell range of the intersection.
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

CellRange Class
CellRange Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options