Spread WPF Documentation
GetRowLabel(Int32) Method
Example 


The row index.
Gets the text in the specified row header cell.
Syntax
'Declaration
 
Public Overloads Function GetRowLabel( _
   ByVal row As System.Integer _
) As System.String
'Usage
 
Dim instance As Worksheet
Dim row As System.Integer
Dim value As System.String
 
value = instance.GetRowLabel(row)
public System.string GetRowLabel( 
   System.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.Windows.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.Windows.SpreadSheet.Data.SheetArea.Cells).ToString())
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetRowLabel(0).ToString())
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetRowLabel(1, 0).ToString())
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

Worksheet Class
Worksheet Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.