Spread Silverlight Documentation
GetColumnLabel(Int32,Int32) Method
Example 


The column header row index.
The column index.
Gets the text in the specified column header cell in the specified column header row.
Syntax
'Declaration
 
Public Overloads Function GetColumnLabel( _
   ByVal row As System.Integer, _
   ByVal column As System.Integer _
) As System.String
'Usage
 
Dim instance As Worksheet
Dim row As System.Integer
Dim column As System.Integer
Dim value As System.String
 
value = instance.GetColumnLabel(row, column)
public System.string GetColumnLabel( 
   System.int row,
   System.int column
)

Parameters

row
The column header row index.
column
The column index.

Return Value

Returns the column label string.
Example
This example uses the GetColumnLabel method.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetColumnLabel(0).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetColumnLabel(0,2).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetColumnViewportCount().ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetColumnLabel(0).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetColumnLabel(0,2).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetColumnViewportCount().ToString())
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Worksheet Class
Worksheet Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.