Class Workbook
Process files using the partial class.
Inheritance
System.Object
Workbook
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Spreadsheet
Assembly: Syncfusion.EJ2.Spreadsheet.dll
Syntax
public class Workbook
Remarks
This class can save Spreadsheet as Stream, base64String and downloadable File in Client.
Constructors
Workbook()
Declaration
public Workbook()
Methods
Open(OpenRequest)
Open the sheet using import request.
Declaration
public static string Open(OpenRequest openRequest)
Parameters
Type | Name | Description |
---|---|---|
OpenRequest | openRequest | The import request. |
Returns
Type | Description |
---|---|
System.String | The sheet settings. |
Save(SaveSettings)
Save the spreadsheet into a file.
Declaration
public static void Save(SaveSettings saveSettings)
Parameters
Type | Name | Description |
---|---|---|
SaveSettings | saveSettings | SaveSettings object that contains the settings. |
Save<T>(SaveSettings)
Save the Spreadsheet in defined type.
Declaration
public static T Save<T>(SaveSettings saveSettings)
Parameters
Type | Name | Description |
---|---|---|
SaveSettings | saveSettings | SaveSettings object that contains the settings. |
Returns
Type |
---|
T |
Type Parameters
Name | Description |
---|---|
T | Return output based on defined type. |