Class SaveOptions
Represents options to control how the spreadsheet is saved.
Inherited Members
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:
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 |
Remarks
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. |
Remarks
Select Xlsx to export the workbook as a downloadable .xlsx file.