Spread Windows Forms 12.0 Product Documentation
GetColumnFooterText Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetColumnFooterText Method
Column header row footer index
Column footer index
Gets the text in the specified column footer cell on this sheet.
Syntax
'Declaration
 
Public Function GetColumnFooterText( _
   ByVal row As Integer, _
   ByVal column As Integer _
) As String
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim value As String
 
value = instance.GetColumnFooterText(row, column)
public string GetColumnFooterText( 
   int row,
   int column
)

Parameters

row
Column header row footer index
column
Column footer index
Example
This example gets the column footer text.
fpSpread1.Sheets[0].RowCount = 10;
fpSpread1.Sheets[0].ColumnCount = 15;
// Show the column footer.
fpSpread1.Sheets[0].ColumnFooter.Visible = true;
fpSpread1.Sheets[0].ColumnFooter.RowCount = 2;
fpSpread1.Sheets[0].ColumnFooter.DefaultStyle.ForeColor = Color.Purple;
fpSpread1.Sheets[0].ColumnFooter.Columns[12].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
fpSpread1.Sheets[0].ColumnFooter.Cells[0, 12].RowSpan = 2;
fpSpread1.Sheets[0].ColumnFooter.Cells[0, 0].Value = "test";
listBox1.Items.Add(fpSpread1.Sheets[0].GetColumnFooterText(0, 0).ToString());
fpSpread1.Sheets(0).RowCount = 10
fpSpread1.Sheets(0).ColumnCount = 15
' Show the footer.
fpSpread1.Sheets(0).ColumnFooter.Visible = True
fpSpread1.Sheets(0).ColumnFooter.RowCount = 2
fpSpread1.Sheets(0).ColumnFooter.DefaultStyle.ForeColor = Color.Purple
fpSpread1.Sheets(0).ColumnFooter.Columns(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left
fpSpread1.Sheets(0).ColumnFooter.Cells(0, 12).RowSpan = 2
fpSpread1.Sheets(0).ColumnFooter.Cells(0, 0).Value = "test"
ListBox1.Items.Add(FpSpread1.Sheets(0).GetColumnFooterText(0, 0).ToString())
See Also

Reference

SheetView Class
SheetView Members