FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Column Class : Label Property |
Column objects returned by the Columns object's Default property and Column objects in the column or row headers do not have a label.
This is not the same as the automatic text. For information on the automatic text that appears in a column row, refer to ColumnHeader class AutoText and AutoTextIndex.
FpSpread1.ActiveSheetView.ColumnCount=10;
FpSpread1.ActiveSheetView.PageSize=20;
FpSpread1.ActiveSheetView.RowCount=20;
FarPoint.Web.Spread.Column mycol;
mycol=FpSpread1.ActiveSheetView.Columns[1];
mycol.Label="FarPoint";
TextBox1.Text=mycol.Label;
FpSpread1.ActiveSheetView.ColumnCount=10 FpSpread1.ActiveSheetView.PageSize=20 FpSpread1.ActiveSheetView.RowCount=20 Dim mycol As FarPoint.Web.Spread.Column mycol=FpSpread1.ActiveSheetView.Columns(1) mycol.Label="FarPoint" TextBox1.Text=mycol.Label
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional