GrapeCity.Xaml.SpreadSheet.Data
GetRowLabel(Int32) Method
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class > GetRowLabel Method : GetRowLabel(Int32) Method
The row index.
Gets the text in the specified row header cell.
Syntax
'Declaration
 
Public Overloads Function GetRowLabel( _
   ByVal row As Integer _
) As String
'Usage
 
Dim instance As Worksheet
Dim row As Integer
Dim value As String
 
value = instance.GetRowLabel(row)
public string GetRowLabel( 
   int row
)

Parameters

row
The row index.

Return Value

Returns the row label string.
Example
This example uses the GetRowLabel method.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetRowHeight(0).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetRowHeight(1, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetRowLabel(0).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetRowLabel(1, 0).ToString());
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetRowHeight(0).ToString())
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetRowHeight(1, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells).ToString())
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetRowLabel(0).ToString())
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetRowLabel(1, 0).ToString())
See Also

Reference

Worksheet Class
Worksheet Members
Overload List