Interface IWorkbookSerializator
Classes that implement this interface are responsible for whole workbook serialization into stream or into file.
Namespace: Syncfusion.XlsIO.Interfaces
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public interface IWorkbookSerializator
Methods
Serialize(Stream, WorkbookImpl, ExcelSaveType)
Saves workbook into stream.
Declaration
void Serialize(Stream stream, WorkbookImpl book, ExcelSaveType saveType)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Stream to save into. |
WorkbookImpl | book | Workbook to save. |
ExcelSaveType | saveType | Save type (template or ordinary xls). |
Serialize(String, WorkbookImpl, ExcelSaveType)
Saves workbook into specified file.
Declaration
void Serialize(string fullName, WorkbookImpl book, ExcelSaveType saveType)
Parameters
Type | Name | Description |
---|---|---|
System.String | fullName | Destination file name. |
WorkbookImpl | book | Workbook to save. |
ExcelSaveType | saveType | Save type. |