Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / HeaderAutoText Enumeration
Example Example


In This Topic
    HeaderAutoText Enumeration
    In This Topic
    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