Spread Windows Forms 9.0 Product Documentation
GetRowLabel Method
Example 


Row index
Row header column index
Gets the text in the specified row header cell on this sheet.
Syntax
'Declaration
 
Public Function GetRowLabel( _
   ByVal row As Integer, _
   ByVal column As Integer _
) As String
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim value As String
 
value = instance.GetRowLabel(row, column)
public string GetRowLabel( 
   int row,
   int column
)

Parameters

row
Row index
column
Row header column index

Return Value

String containing the text in the specified row header cell
Example
This example illustrates the use of this member by returning the label for the specified row header.
fpSpread1.ActiveSheet.RowHeaderColumnCount = 3;
fpSpread1.ActiveSheet.SetRowLabel(1, 1, "Income");
label1.Text = "The row label is - " + fpSpread1.ActiveSheet.GetRowLabel(1, 1).ToString();
Dim i As Integer
FpSpread1.ActiveSheet.SetRowHeight(0, 80)
i = FpSpread1.ActiveSheet.GetRowHeight(0)
ListBox1.Items.Add(i.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

User-Task Documentation

Customizing Header Label Text

 

 


Copyright © GrapeCity, inc. All rights reserved.