Class Spreadsheet
Inheritance
System.Object
Spreadsheet
Implements
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.EJ.Export
Assembly: Syncfusion.EJ.Export.dll
Syntax
public class Spreadsheet : ISpreadsheet
Constructors
Spreadsheet()
Declaration
public Spreadsheet()
Methods
Open(ImportRequest)
Open the sheet using import request.
Declaration
public static string Open(ImportRequest importRequest)
Parameters
Type | Name | Description |
---|---|---|
ImportRequest | importRequest | The import request. |
Returns
Type | Description |
---|---|
System.String | The sheet settings. |
Save(String, String, ExportFormat, ExcelVersion)
Save the Spreadsheet as a excel file.
Declaration
public static Stream Save(string sheetModel, string sheetData, ExportFormat type, ExcelVersion excelVersion)
Parameters
Type | Name | Description |
---|---|---|
System.String | sheetModel | The Spreadsheet model. |
System.String | sheetData | The Spreadsheet data. |
ExportFormat | type | The type of export format. |
ExcelVersion | excelVersion | The version for excel. |
Returns
Type | Description |
---|---|
System.IO.Stream | The stream of data. |
Save(String, String, String, ExportFormat)
Save the Spreadsheet as a excel file.
Declaration
public static void Save(string sheetModel, string sheetData, string fileName, ExportFormat type)
Parameters
Type | Name | Description |
---|---|---|
System.String | sheetModel | The Spreadsheet model. |
System.String | sheetData | The Spreadsheet data. |
System.String | fileName | The file name to export. |
ExportFormat | type | The type of excel file. |
Save(String, String, String, ExportFormat, ExcelVersion)
Save the Spreadsheet as a excel file.
Declaration
public static void Save(string sheetModel, string sheetData, string fileName, ExportFormat type, ExcelVersion excelVersion)
Parameters
Type | Name | Description |
---|---|---|
System.String | sheetModel | The Spreadsheet model. |
System.String | sheetData | The Spreadsheet data. |
System.String | fileName | The file name to export. |
ExportFormat | type | The type of excel file. |
ExcelVersion | excelVersion | The version of excel file. |
Save(String, String, String, ExportFormat, ExcelVersion, String)
Save the Spreadsheet as a excel file.
Declaration
public static void Save(string sheetModel, string sheetData, string fileName, ExportFormat type, ExcelVersion excelVersion, string password)
Parameters
Type | Name | Description |
---|---|---|
System.String | sheetModel | The Spreadsheet model. |
System.String | sheetData | The Spreadsheet data. |
System.String | fileName | The file name to export. |
ExportFormat | type | The type of excel file. |
ExcelVersion | excelVersion | The version of excel file. |
System.String | password | The password for excel file. |
Explicit Interface Implementations
ISpreadsheet.Open(ImportRequest)
Open the sheet using import request.
Declaration
string ISpreadsheet.Open(ImportRequest importRequest)
Parameters
Type | Name | Description |
---|---|---|
ImportRequest | importRequest | The import request. |
Returns
Type | Description |
---|---|
System.String |