Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / IncludeHeaders Enumeration
Example Example


In This Topic
    IncludeHeaders Enumeration
    In This Topic
    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

    See Also