Spread Windows Forms 9.0 Product Documentation
GetRowHeaderSpanCell Method
Example 


Row index of the specified cell
Column index of the specified cell
Gets the range of cells that are spanned at a specified cell on the row header of this sheet.
Syntax
'Declaration
 
Public Overridable Function GetRowHeaderSpanCell( _
   ByVal row As Integer, _
   ByVal column As Integer _
) As CellRange
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim value As CellRange
 
value = instance.GetRowHeaderSpanCell(row, column)
public virtual CellRange GetRowHeaderSpanCell( 
   int row,
   int column
)

Parameters

row
Row index of the specified cell
column
Column index of the specified cell

Return Value

CellRange object that contains the span information, or null if no span exists
Example
This example uses the GetRowHeaderSpanCell method.
fpSpread1.Sheets[0].AddRowHeaderSpanCell(0, 0, 1, 2);
listBox1.Items.Add(fpSpread1.Sheets[0].GetRowHeaderSpanCell(0, 0).ToString());
FpSpread1.Sheets(0).AddRowHeaderSpanCell(0, 0, 1, 2)
ListBox1.Items.Add(FpSpread1.Sheets(0).GetRowHeaderSpanCell(0, 0).ToString())
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.