Spread for ASP.NET 7.0 Product Documentation
GetColumnLabel(Int32,Int32) Method
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : GetColumnLabel(Int32,Int32) Method


row
Header row index
column
Header column index

Glossary Item Box

Gets the text in the column header cell at the specified row and column.

Syntax

Visual Basic (Declaration) 
Public Function GetColumnLabel( _
   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.GetColumnLabel(row, column)
C# 
public string GetColumnLabel( 
   int row,
   int column
)

Parameters

row
Header row index
column
Header column index

Example

This example uses the GetColumnLabel method.
C#Copy Code
FarPoint.Web.Spread.SheetView sv;
sv = FpSpread1.ActiveSheetView;
ListBox1.Items.Add(sv.GetColumnLabel(0, 1).ToString());
VB.NETCopy Code
Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
ListBox1.Items.Add(sv.GetColumnLabel(0, 1).ToString())

Requirements

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

See Also

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