Spread Windows Forms 12.0 Product Documentation
GetColumnLabel Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetColumnLabel Method
Gets the text in the specified column header cell on this sheet.
Overload List
OverloadDescription
Gets the text in the specified column header cell on this sheet.  
Example
This example illustrates the use of this member by returning the text displayed in the specified row of the column headers.
FarPoint.Win.Spread.SheetView sv = new FarPoint.Win.Spread.SheetView();
sv.ColumnHeaderRowCount = 3;
sv.SetColumnLabel(1, 2, "Two");
fpSpread1.Sheets.Add(sv);
fpSpread1.ActiveSheet = sv;
label1.Text = sv.GetColumnLabel(1, 2);
Dim sv As New FarPoint.Win.Spread.SheetView()
sv.ColumnHeaderRowCount = 3
sv.SetColumnLabel(1, 2, "Two")
FpSpread1.Sheets.Add(sv)
FpSpread1.ActiveSheet = sv
Label1.Text = sv.GetColumnLabel(1, 2)
See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Customizing Header Label Text