Spread Windows Forms 15.0
FarPoint.Excel Assembly / FarPoint.Excel Namespace / WorkbookSynchronizer Class / ToSpread Method
GrapeCity Spread component
Workbook
Workbook file
Excel sheet index
Array list of sheet names
Excel open flags
Memory folder


In This Topic
    ToSpread Method (WorkbookSynchronizer)
    In This Topic
    Synchronizes Excel XML to Spread.
    Syntax
    'Declaration
     
    
    Public Shared Function ToSpread( _
       ByVal spread As IExcelRead, _
       ByVal workbook As CT_Workbook, _
       ByVal workbookFile As XFile, _
       ByVal excelSheetIndex As Integer, _
       ByVal sheetNames As ArrayList, _
       ByVal openFlags As ExcelOpenFlags, _
       ByVal objectMapper As ObjectsDeserializer _
    ) As Boolean
    'Usage
     
    
    Dim spread As IExcelRead
    Dim workbook As CT_Workbook
    Dim workbookFile As XFile
    Dim excelSheetIndex As Integer
    Dim sheetNames As ArrayList
    Dim openFlags As ExcelOpenFlags
    Dim objectMapper As ObjectsDeserializer
    Dim value As Boolean
     
    value = WorkbookSynchronizer.ToSpread(spread, workbook, workbookFile, excelSheetIndex, sheetNames, openFlags, objectMapper)

    Parameters

    spread
    GrapeCity Spread component
    workbook
    Workbook
    workbookFile
    Workbook file
    excelSheetIndex
    Excel sheet index
    sheetNames
    Array list of sheet names
    openFlags
    Excel open flags
    objectMapper
    Memory folder

    Return Value

    Boolean: true if successful; false otherwise
    See Also