Gets the merged cell ranges in the specified range.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As FpSpread
Dim row As Integer
Dim column As Integer
Dim rowCount As Integer
Dim columnCount As Integer
Dim value As ArrayList
value = instance.GetMergeCells(row, column, rowCount, columnCount) |
Parameters
- row
- Row index of the start of the range to search for merged cells
- column
- Column index of the start of the range to search for merged cells
- rowCount
- Number of rows of the range to search for merged cells
- columnCount
- Number of columns of the range to search for merged cells
Return Value
ArrayList of
CellRange objects containing ranges of cells
Example
This example sets the border style of the focus rectangle.
C# | Copy Code |
---|
protected override void Render(System.Web.UI.HtmlTextWriter writer)
{
ArrayList al;
al = FpSpread1.GetMergeCells(0, 0, 2, 0);
string msg = al.Count.ToString();
Response.Write("alert('" + msg + "')");
}
|
Visual Basic | Copy Code |
---|
Protected Overrides Sub Render(ByVal writer As System.Web.UI.HtmlTextWriter)
Dim al As ArrayList
al = FpSpread1.GetMergeCells(0, 0, 2, 0)
Dim msg As String = al.Count.ToString()
Response.Write("alert('" & msg & "')")
End Sub |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also