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


Glossary Item Box

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

Overload List

OverloadDescription
GetColumnLabelGets the text in the column header cell at the specified row and column.  

Example

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 BasicCopy 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))

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.