Gets the automatic text displayed in the specified column header.
Syntax
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
Return Value
String containing the text for the column header cell specified by
AutoTextIndex
Remarks
Example
This example creates a ColumnHeader object and a SheetView object and returns the header text from the forth header to a list box using the SheetView object.
C# | Copy Code |
---|
FarPoint.Web.Spread.ColumnHeader colhdr;
FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView;
colhdr=sv.ColumnHeader;
colhdr.RowCount=3;
colhdr.AutoText=FarPoint.Web.Spread.HeaderAutoText.Letters;
ListBox1.Items.Add(Convert.ToString(sv.GetColumnAutoText(3))); |
Visual Basic | Copy Code |
---|
Dim colhdr As FarPoint.Web.Spread.ColumnHeader
Dim sv As FarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
colhdr=sv.ColumnHeader
colhdr.RowCount=3
colhdr.AutoText=FarPoint.Web.Spread.HeaderAutoText.Letters
ListBox1.Items.Add(sv.GetColumnAutoText(3)) |
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also