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


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

Parameters

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())
See Also

Reference

Worksheet Class
Worksheet Members
Overload List