Gets or sets which column header row displays the automatic text when there are multiple column header rows.
            
            
            
Syntax
| Visual Basic (Declaration) |   | 
|---|
Public Property ColumnHeaderAutoTextIndex As Integer  | 
 
| Visual Basic (Usage) |  Copy Code | 
|---|
Dim instance As SheetView
Dim value As Integer
 
instance.ColumnHeaderAutoTextIndex = value
 
value = instance.ColumnHeaderAutoTextIndex  | 
 
| C# |   | 
|---|
public int ColumnHeaderAutoTextIndex {get; set;} | 
 
            
            
            Property Value
Integer column header row index
 
            
			
			
            Remarks
            
            
Example
This example sets the sheet to have three rows of column headers and sets the first row to display the numbers.
             
| C# |  Copy Code | 
|---|
FarPoint.Web.Spread.SheetView sv;
sv = FpSpread1.ActiveSheetView;
sv.ColumnHeader.RowCount = 3;
if(IsPostBack)
{
sv.ColumnHeaderAutoTextIndex = 0;
}
 | 
 
| Visual Basic |  Copy Code | 
|---|
Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
sv.ColumnHeader.RowCount = 3
If IsPostBack Then
sv.ColumnHeaderAutoTextIndex = 0
End If  | 
 
 
            
            
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
 
            
            
See Also