Spread Windows Forms 6.0 Product Documentation
GetRowLabel Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetRowLabel Method


row
Row index
column
Row header column index

Glossary Item Box

Gets the text in the specified row header cell on this sheet.

Syntax

Visual Basic (Declaration) 
Public Function GetRowLabel( _
   ByVal row As Integer, _
   ByVal column As Integer _
) As String
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim value As String
 
value = instance.GetRowLabel(row, column)
C# 
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.
C#Copy Code
fpSpread1.ActiveSheet.RowHeaderColumnCount = 3;
fpSpread1.ActiveSheet.SetRowLabel(1, 1, "Income");
label1.Text = "The row label is - " + fpSpread1.ActiveSheet.GetRowLabel(1, 1).ToString();
Visual BasicCopy Code
Dim i As Integer
FpSpread1.ActiveSheet.SetRowHeight(0, 80)
i = FpSpread1.ActiveSheet.GetRowHeight(0)
ListBox1.Items.Add(i.ToString())

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.