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 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also