ToSpread(IExcelRead,CT_OfficeStyleSheet,Int16,XFile,ObjectsDeserializer,ExcelOpenFlags) Method
In This Topic
Loads drawing objects from Excel 2007 files to Spread.
Syntax
'Declaration
Public Overloads Shared Function ToSpread( _
ByVal As IExcelRead, _
ByVal As CT_OfficeStyleSheet, _
ByVal As Short, _
ByVal As XFile, _
ByVal As ObjectsDeserializer, _
ByVal As ExcelOpenFlags _
) As Boolean
'Usage
Dim spread As IExcelRead
Dim themes As CT_OfficeStyleSheet
Dim sheetIndex As Short
Dim drawingFile As XFile
Dim objectMapper As ObjectsDeserializer
Dim openflags As ExcelOpenFlags
Dim value As Boolean
value = DrawingSynchronizer.ToSpread(spread, themes, sheetIndex, drawingFile, objectMapper, openflags)
public static bool ToSpread(
IExcelRead ,
CT_OfficeStyleSheet ,
short ,
XFile ,
ObjectsDeserializer ,
ExcelOpenFlags
)
Parameters
- spread
- The spread.
- themes
- The themes.
- sheetIndex
- Index of the sheet.
- drawingFile
- The drawing file.
- objectMapper
- The memory folder.
- openflags
Return Value
true
if drawings are loaded successfully; otherwise, false
.
See Also