Spread for ASP.NET 10 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 include 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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

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.