Spread for ASP.NET 11 Product Documentation
HeaderAutoText Enumeration
Example Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace : HeaderAutoText Enumeration
Specifies which, if any, automatic text appears in column or row headers.
Syntax
'Declaration
 
Public Enum HeaderAutoText 
   Inherits System.Enum
'Usage
 
Dim instance As HeaderAutoText
public enum HeaderAutoText : System.Enum 
Members
MemberDescription
BlankDoes not display any automatic text in the column or row header.
LettersDisplays letters in the column or row headers.
NumbersDisplays numbers in the column or row header.
Remarks
Use these settings with the ColumnHeader AutoText property and Row Header AutoText property to specify whether numbers or letters appear in the headers. For more information about customizing header text, refer to Customizing Default Header Labels.
Example
This example creates three RowHeaders for the active sheet and displays letters in the first of the headers.
FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView;
sv.RowHeader.ColumnCount=3;
sv.RowHeader.AutoText=FarPoint.Web.Spread.HeaderAutoText.Letters;
sv.RowHeader.AutoTextIndex=0;
Dim sv As FarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
sv.RowHeader.ColumnCount=3
sv.RowHeader.AutoText=FarPoint.Web.Spread.HeaderAutoText.Letters
sv.RowHeader.AutoTextIndex=0
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Web.Spread.HeaderAutoText

See Also

Reference

FarPoint.Web.Spread Namespace
AutoText Property (ColumnHeader)
AutoText Property (RowHeader)

User-Task Documentation

Customizing Default Header Labels
Customizing Header Label Text