Spread Windows Forms 12.0 Product Documentation
GetColumnAutoText Method
Example 


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

Parameters

column
Column index of column header

Return Value

String containing the automatic text in the specified column header
Exceptions
ExceptionDescription
Specified column index is out of range; must be at least zero
Remarks
If the column header displays custom text, this method returns a null value.
Example
This example illustrates the use of this member by returning the text displayed in the specified column header.
string s;
s = fpSpread1.ActiveSheet.GetColumnAutoText(1);
listBox1.Items.Add(s);
Dim s As String
s = FpSpread1.ActiveSheet.GetColumnAutoText(1)
ListBox1.Items.Add(s)
See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Customizing the Default Header Labels