alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SaveOptions

    Represents options to control how the spreadsheet is saved.

    Inheritance
    object
    SaveOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Spreadsheet
    Assembly: Syncfusion.Blazor.Spreadsheet.dll
    Syntax
    public class SaveOptions
    Remarks

    Use this class with SaveAsync(SaveOptions) to customize the export behavior for downloadable files, including the output file name.

    The SaveType property determines the save result:

    • Xlsx - Exports the workbook as an .xlsx file using the specified FileName.

    This class is intended for simple, programmatic save options such as file name and format selection for downloads.

    Constructors

    SaveOptions()

    Declaration
    public SaveOptions()

    Properties

    FileName

    Gets or sets the file name to use when expoting the spreadsheet.

    Declaration
    public string FileName { get; set; }
    Property Value
    Type Description
    string

    A string representing the base file name. The component automatically appends the ".xlsx" extension. The default value is "Spreadsheet".

    Remarks

    This property determines the name of the exported file when SaveType is Xlsx.

    SaveType

    Gets or sets how the save operation should handle the output.

    Declaration
    public SaveType SaveType { get; set; }
    Property Value
    Type Description
    SaveType

    A SaveType that specifies the result type of the save operation.
    The default value is Xlsx.

    Remarks

    Select Xlsx to export the workbook as a downloadable .xlsx file.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved