Spread WPF Documentation
SetRowLabel Method
Example 


The row index.
The row header column index.
The label text.
Sets the value for a specified cell in a row header on this sheet.
Syntax
'Declaration
 
Public Sub SetRowLabel( _
   ByVal row As System.Integer, _
   ByVal column As System.Integer, _
   ByVal value As System.String _
) 
'Usage
 
Dim instance As Worksheet
Dim row As System.Integer
Dim column As System.Integer
Dim value As System.String
 
instance.SetRowLabel(row, column, value)
public void SetRowLabel( 
   System.int row,
   System.int column,
   System.string value
)

Parameters

row
The row index.
column
The row header column index.
value
The label text.
Example
This example sets the SetRowLabel method.
gcSpreadSheet1.Sheets[0].SetColumnLabel(0, 2, "test");
gcSpreadSheet1.Sheets[0].SetRowLabel(2, 0, "rowtest");
gcSpreadSheet1.Invalidate();
GcSpreadSheet1.Sheets(0).SetColumnLabel(0, 2, "test")
GcSpreadSheet1.Sheets(0)SetRowLabel(2, 0, "rowtest")
GcSpreadSheet1.Invalidate()
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

 

 


Copyright © GrapeCity, inc. All rights reserved.