Spread for ASP.NET 7.0 Product Documentation
HeaderAutoText Enumeration
Example  See Also  Support Options
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.SheetView sv=FpSpread1.ActiveSheetView;
sv.RowHeader.ColumnCount=3;
sv.RowHeader.AutoText=FarPoint.Web.Spread.HeaderAutoText.Letters;
sv.RowHeader.AutoTextIndex=0;
Visual BasicCopy Code
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

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.