'Declaration Public Sub SetColumnLabel( _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal value As String _ )
Parameters
- row
- Column header row index
- column
- Column index
- value
- Text for the label
'Declaration Public Sub SetColumnLabel( _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal value As String _ )
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)