| Visual Basic (Declaration) | |
|---|---|
Public Function GetColumnAutoText( _ ByVal column As Integer _ ) As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As SheetView Dim column As Integer Dim value As String value = instance.GetColumnAutoText(column) | |
Parameters
- column
- Column index of column header
Return Value
String containing the automatic text in the specified column header| Exception | Description |
|---|---|
| System.ArgumentOutOfRangeException | Specified column index is out of range; must be at least zero |
If the column header displays custom text, this method returns a null value.
This example illustrates the use of this member by returning the text displayed in the specified column header.
| C# | Copy Code |
|---|---|
string s;
s = fpSpread1.ActiveSheet.GetColumnAutoText(1);
listBox1.Items.Add(s); | |
| Visual Basic | Copy Code |
|---|---|
Dim s As String s = FpSpread1.ActiveSheet.GetColumnAutoText(1) ListBox1.Items.Add(s) | |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
Reference
SheetView ClassSheetView Members