Spread for ASP.NET 8.0 Product Documentation
IncludeHeaders Enumeration
Example Example 


Specifies which spreadsheet headers should be included.
Syntax
'Declaration
 
Public Enum IncludeHeaders 
   Inherits System.Enum
'Usage
 
Dim instance As IncludeHeaders
public enum IncludeHeaders : System.Enum 
Members
MemberDescription
BothCustomOnlyIncludes both custom column and custom row headers, custom headers only
ColumnHeadersCustomOnlyIncludes only custom column headers
NoneIncludes neither column nor row headers
RowHeadersCustomOnlyIncludes only custom row headers
Remarks

This enumeration is used when saving or loading a spreadsheet from a file. The settings determine whether to incude the headers when opening from or saving to a file.

For more information, refer to Opening Existing Files and Saving Data to a File .

Example
FpSpread1.SaveExcel("test.xls", FarPoint.Web.Spread.Model.IncludeHeaders.BothCustomOnly);
FpSpread1.SaveExcel("test.xls", FarPoint.Web.Spread.Model.IncludeHeaders.BothCustomOnly)
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Web.Spread.Model.IncludeHeaders

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

Reference

FarPoint.Web.Spread.Model Namespace

User-Task Documentation

Opening Existing Files
Saving Data to a File

 

 


Copyright © GrapeCity, inc. All rights reserved.