Version

IsOverlappingWithMergedRegion Method

Checks if any part of specified region is already a part of a merged cell region.
Syntax
'Declaration
 
Public Function IsOverlappingWithMergedRegion( _
   ByVal firstRow As Integer, _
   ByVal firstColumn As Integer, _
   ByVal lastRow As Integer, _
   ByVal lastColumn As Integer _
) As Boolean
public bool IsOverlappingWithMergedRegion( 
   int firstRow,
   int firstColumn,
   int lastRow,
   int lastColumn
)

Parameters

firstRow
The index of the first row of the merged cell region.
firstColumn
The index of the first column of the merged cell region.
lastRow
The index of the last row of the merged cell region.
lastColumn
The index of the last row column of the merged cell region.

Return Value

True if any part of specified region is a part of merged cell region; False otherwise.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also