ToObject Method (WorkbookSynchronizer)
Synchronizes Spread to Excel XML.
'Declaration
Public Shared Function ToObject( _
ByVal As IExcelWrite, _
ByVal As XFile, _
ByVal As ExcelSaveFlags, _
ByVal As ZipHelper.MemoryFolder, _
ByVal As ICSharpCode.SharpZipLib.Zip.ZipOutputStream, _
ByVal As ICollection(Of String) _
) As CT_Workbook
'Usage
Dim spread As IExcelWrite
Dim workbookFile As XFile
Dim saveFlags As ExcelSaveFlags
Dim mFolder As ZipHelper.MemoryFolder
Dim zipOutputStream As ICSharpCode.SharpZipLib.Zip.ZipOutputStream
Dim directlyWritingFilenames As ICollection(Of String)
Dim value As CT_Workbook
value = WorkbookSynchronizer.ToObject(spread, workbookFile, saveFlags, mFolder, zipOutputStream, directlyWritingFilenames)
Parameters
- spread
- Spread
- workbookFile
- Workbook file
- saveFlags
- Excel save flags
- mFolder
- Memory folder
- zipOutputStream
- The zip out put stream for writing on the fly directly
- directlyWritingFilenames
- The collection which hold the name of files that would be writing on the fly directly
Return Value
instance of CT_Workbook