Overload | Description |
---|---|
GetColumnLabel | Gets the text in the column header cell at the specified row and column. |
This example creates a SheetView object and places custom text in the second column header. It returns the text from that header to a list box using the Sheetview object.
C# | Copy Code |
---|---|
FarPoint.Web.Spread.Columnmycol;
FarPoint.Web.Spread.SheetViewsv;
sv=FpSpread1.ActiveSheetView;
mycol=sv.Columns[1];
mycol.Label="FarPoint";
ListBox1.Items.Add(sv.GetColumnLabel(0,1)); |
Visual Basic | Copy Code |
---|---|
DimmycolAsFarPoint.Web.Spread.Column
DimsvAsFarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
mycol=sv.Columns(1)
mycol.Label="FarPoint"
ListBox1.Items.Add(sv.GetColumnLabel(0,1)) |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
Reference
SheetView ClassSheetView Members
GetRowLabel Method
SetColumnLabel Method