Spread ASP.NET 6.0 Product Documentation
HeaderAutoText Enumeration
Example  See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace : HeaderAutoText Enumeration


Glossary Item Box

Specifies which, if any, automatic text appears in column or row headers.

Syntax

Visual Basic (Declaration) 
Public Enum HeaderAutoText 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As HeaderAutoText
C# 
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.
C#Copy Code
FarPoint.Web.Spread.SheetViewsv=FpSpread1.ActiveSheetView;
sv.RowHeader.ColumnCount=3;
sv.RowHeader.AutoText=FarPoint.Web.Spread.HeaderAutoText.Letters;
sv.RowHeader.AutoTextIndex=0;
Visual BasicCopy Code
DimsvAsFarPoint.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

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

© 2002-2012 GrapeCity, Inc. All Rights Reserved.