menu

ASP.NET Web Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SpreadsheetExportOptionsBuilder<T>

    Show / Hide Table of Contents

    Class SpreadsheetExportOptionsBuilder<T>

    Represents a class for export options which includes excel url, pdf url, csv url, password properties.

    Inheritance
    System.Object
    SpreadsheetExportOptionsBuilder<T>
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class SpreadsheetExportOptionsBuilder<T>
        where T : class
    Type Parameters
    Name Description
    T

    Constructors

    SpreadsheetExportOptionsBuilder(SpreadsheetExportSettings)

    Initializes a new instance of the SpreadsheetExportOptionsBuilder<T> with the specified export options.

    Declaration
    public SpreadsheetExportOptionsBuilder(SpreadsheetExportSettings export)
    Parameters
    Type Name Description
    SpreadsheetExportSettings export

    The export settings.

    Methods

    AllowExporting()

    Specifies to enable or disable the exporting.

    Declaration
    public SpreadsheetExportOptionsBuilder<T> AllowExporting()
    Returns
    Type Description
    SpreadsheetExportOptionsBuilder<T>

    AllowExporting(Boolean)

    Specifies to indicate whether exporting is enable or not.

    Declaration
    public SpreadsheetExportOptionsBuilder<T> AllowExporting(bool allowExporting)
    Parameters
    Type Name Description
    System.Boolean allowExporting

    langword_csharp_True If the exporting is enabled; otherwise, false.

    Returns
    Type Description
    SpreadsheetExportOptionsBuilder<T>

    CsvUrl(String)

    Specifies the csv url to export.

    Declaration
    public SpreadsheetExportOptionsBuilder<T> CsvUrl(string csvUrl)
    Parameters
    Type Name Description
    System.String csvUrl

    The csv url as string.

    Returns
    Type Description
    SpreadsheetExportOptionsBuilder<T>

    EnableFormulaCalculation()

    Specifies to enable or disable the formula calculation.

    Declaration
    public SpreadsheetExportOptionsBuilder<T> EnableFormulaCalculation()
    Returns
    Type Description
    SpreadsheetExportOptionsBuilder<T>

    EnableFormulaCalculation(Boolean)

    Specifies to indicate whether exporting is enable or not.

    Declaration
    public SpreadsheetExportOptionsBuilder<T> EnableFormulaCalculation(bool enableFormulaCalculation)
    Parameters
    Type Name Description
    System.Boolean enableFormulaCalculation

    true If the enableFormulaCalculation is enabled; otherwise, false.

    Returns
    Type Description
    SpreadsheetExportOptionsBuilder<T>

    ExcelUrl(String)

    Specifies the excel url to export.

    Declaration
    public SpreadsheetExportOptionsBuilder<T> ExcelUrl(string excelUrl)
    Parameters
    Type Name Description
    System.String excelUrl

    The excel url as string.

    Returns
    Type Description
    SpreadsheetExportOptionsBuilder<T>

    Password(String)

    Specifies export with the password.

    Declaration
    public SpreadsheetExportOptionsBuilder<T> Password(string password)
    Parameters
    Type Name Description
    System.String password

    The password as string.

    Returns
    Type Description
    SpreadsheetExportOptionsBuilder<T>

    PdfUrl(String)

    Specifies the pdf url to export.

    Declaration
    public SpreadsheetExportOptionsBuilder<T> PdfUrl(string pdfUrl)
    Parameters
    Type Name Description
    System.String pdfUrl

    The pdf url as string.

    Returns
    Type Description
    SpreadsheetExportOptionsBuilder<T>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved