Spread Windows Forms 6.0 Product Documentation
HeaderAutoText Enumeration
Example  See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace : HeaderAutoText Enumeration


Glossary Item Box

Specifies what default labels are displayed in 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
Blank[0] Displays blanks in the headers
Letters[2] Displays letters in the headers
Numbers[1] Displays numbers in the headers

Example

C#Copy Code
fpSpread1.ActiveSheet.ColumnHeader.RowCount = 3;
fpSpread1.ActiveSheet.RowHeader.ColumnCount = 2;
fpSpread1.ActiveSheet.ColumnHeaderAutoText = FarPoint.Win.Spread.HeaderAutoText.Numbers;
fpSpread1.ActiveSheet.ColumnHeaderAutoTextIndex = 0;
fpSpread1.ActiveSheet.RowHeaderAutoText = FarPoint.Win.Spread.HeaderAutoText.Letters;
fpSpread1.ActiveSheet.RowHeaderAutoTextIndex = 0;
Visual BasicCopy Code
FpSpread1.ActiveSheet.ColumnHeader.RowCount = 3
FpSpread1.ActiveSheet.RowHeader.ColumnCount = 2
FpSpread1.ActiveSheet.ColumnHeaderAutoText = FarPoint.Win.Spread.HeaderAutoText.Numbers
FpSpread1.ActiveSheet.ColumnHeaderAutoTextIndex = 0
FpSpread1.ActiveSheet.RowHeaderAutoText = FarPoint.Win.Spread.HeaderAutoText.Letters
FpSpread1.ActiveSheet.RowHeaderAutoTextIndex = 0

Inheritance Hierarchy

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

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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