[]
Saves the content of the Spread component to the specified stream.
public bool SaveExcel(Stream stream)
Public Function SaveExcel(stream As Stream) As Boolean
Type | Name | Description |
---|---|---|
Stream | stream | Stream to which to save the data |
Type | Description |
---|---|
bool |
Type | Condition |
---|---|
ArgumentNullException | No stream specified or specified stream is null |
Saves the content of the Spread component to the specified stream.
public bool SaveExcel(Stream stream, string password)
Public Function SaveExcel(stream As Stream, password As String) As Boolean
Type | Name | Description |
---|---|---|
Stream | stream | Stream to which to save the data |
string | password | The file password |
Type | Description |
---|---|
bool |
Type | Condition |
---|---|
ArgumentNullException | No stream specified or specified stream is null |
Saves the content of the Spread component to the specified stream with a list of warnings.
public bool SaveExcel(Stream stream, ExcelWarningList warningList)
Public Function SaveExcel(stream As Stream, warningList As ExcelWarningList) As Boolean
Type | Name | Description |
---|---|---|
Stream | stream | The stream to save to |
ExcelWarningList | warningList | List of Excel warnings |
Type | Description |
---|---|
bool |
Type | Condition |
---|---|
ArgumentNullException | No stream specified or specified stream is null |
Saves the content of the Spread component to the specified stream with the headers exported as data.
public bool SaveExcel(Stream stream, ExcelSaveFlags saveFlags)
Public Function SaveExcel(stream As Stream, saveFlags As ExcelSaveFlags) As Boolean
Type | Name | Description |
---|---|---|
Stream | stream | Stream |
ExcelSaveFlags | saveFlags | Save flag |
Type | Description |
---|---|
bool |
Type | Condition |
---|---|
ArgumentNullException | No stream specified or specified stream is null |
Saves the content of the Spread component to the specified stream with the headers exported as data.
public bool SaveExcel(Stream stream, ExcelSaveFlags saveFlags, string password)
Public Function SaveExcel(stream As Stream, saveFlags As ExcelSaveFlags, password As String) As Boolean
Type | Name | Description |
---|---|---|
Stream | stream | Stream |
ExcelSaveFlags | saveFlags | Save flag |
string | password | Password of file |
Type | Description |
---|---|
bool |
Type | Condition |
---|---|
ArgumentNullException | No stream specified or specified stream is null |
Saves the content of the Spread component to the specified stream with headers and a list of warnings.
public bool SaveExcel(Stream stream, ExcelSaveFlags saveFlags, ExcelWarningList warningList)
Public Function SaveExcel(stream As Stream, saveFlags As ExcelSaveFlags, warningList As ExcelWarningList) As Boolean
Type | Name | Description |
---|---|---|
Stream | stream | Stream |
ExcelSaveFlags | saveFlags | Save flag |
ExcelWarningList | warningList | List of Excel warnings |
Type | Description |
---|---|
bool |
Type | Condition |
---|---|
ArgumentNullException | No stream specified or specified stream is null |
Saves the content of the Spread component to the specified stream with headers and a list of warnings.
public bool SaveExcel(Stream stream, ExcelSaveFlags saveFlags, ExcelWarningList warningList, string password)
Public Function SaveExcel(stream As Stream, saveFlags As ExcelSaveFlags, warningList As ExcelWarningList, password As String) As Boolean
Type | Name | Description |
---|---|---|
Stream | stream | Stream |
ExcelSaveFlags | saveFlags | Save flag |
ExcelWarningList | warningList | List of Excel warnings |
string | password | Password of file |
Type | Description |
---|---|
bool |
Type | Condition |
---|---|
ArgumentNullException | No stream specified or specified stream is null |
Saves the content of the Spread component to the specified Excel-compatible file with the headers exported as data.
public bool SaveExcel(string fileName, ExcelSaveFlags saveFlags)
Public Function SaveExcel(fileName As String, saveFlags As ExcelSaveFlags) As Boolean
Type | Name | Description |
---|---|---|
string | fileName | Path and name of file |
ExcelSaveFlags | saveFlags | Save flag |
Type | Description |
---|---|
bool |
Type | Condition |
---|---|
FileNotFoundException | Specified file is not found |
ArgumentNullException | No file name is specified (or specified file name is null) |
ArgumentException | No file name is specified (or specified file name is empty) |
Saves the content of the Spread component to the specified Excel-compatible file with the headers exported as data.
public bool SaveExcel(string fileName, ExcelSaveFlags saveFlags, string password)
Public Function SaveExcel(fileName As String, saveFlags As ExcelSaveFlags, password As String) As Boolean
Type | Name | Description |
---|---|---|
string | fileName | Path and name of file |
ExcelSaveFlags | saveFlags | Save flag |
string | password | Password of file |
Type | Description |
---|---|
bool |
Type | Condition |
---|---|
FileNotFoundException | Specified file is not found |
ArgumentNullException | No file name is specified (or specified file name is null) |
ArgumentException | No file name is specified (or specified file name is empty) |
Saves the content of the Spread component to the specified Excel-compatible file with headers and a list of warnings.
public bool SaveExcel(string fileName, ExcelSaveFlags saveFlags, ExcelWarningList warningList)
Public Function SaveExcel(fileName As String, saveFlags As ExcelSaveFlags, warningList As ExcelWarningList) As Boolean
Type | Name | Description |
---|---|---|
string | fileName | Path and name of file |
ExcelSaveFlags | saveFlags | Save flag |
ExcelWarningList | warningList | List of Excel warnings |
Type | Description |
---|---|
bool |
Type | Condition |
---|---|
FileNotFoundException | Specified file is not found |
ArgumentNullException | No file name is specified (or specified file name is null) |
ArgumentException | No file name is specified (or specified file name is empty) |
Saves the content of the Spread component to the specified Excel-compatible file with headers and a list of warnings.
public bool SaveExcel(string fileName, ExcelSaveFlags saveFlags, ExcelWarningList warningList, string password)
Public Function SaveExcel(fileName As String, saveFlags As ExcelSaveFlags, warningList As ExcelWarningList, password As String) As Boolean
Type | Name | Description |
---|---|---|
string | fileName | Path and name of file |
ExcelSaveFlags | saveFlags | Save flag |
ExcelWarningList | warningList | List of Excel warnings |
string | password | Password of file |
Type | Description |
---|---|
bool |
Type | Condition |
---|---|
FileNotFoundException | Specified file is not found |
ArgumentNullException | No file name is specified (or specified file name is null) |
ArgumentException | No file name is specified (or specified file name is empty) |
Saves the content of the Spread component to the specified Excel-compatible file.
public bool SaveExcel(string fileName)
Public Function SaveExcel(fileName As String) As Boolean
Type | Name | Description |
---|---|---|
string | fileName | Path and name of file |
Type | Description |
---|---|
bool |
Type | Condition |
---|---|
FileNotFoundException | Specified file is not found |
ArgumentNullException | No file name is specified (or specified file name is null) |
ArgumentException | No file name is specified (or specified file name is empty) |
Saves the content of the Spread component to the specified Excel-compatible file.
public bool SaveExcel(string fileName, string password)
Public Function SaveExcel(fileName As String, password As String) As Boolean
Type | Description |
---|---|
bool |
Type | Condition |
---|---|
FileNotFoundException | Specified file is not found |
ArgumentNullException | No file name is specified (or specified file name is null) |
ArgumentException | No file name is specified (or specified file name is empty) |
Saves the content of the Spread component to the specified Excel-compatible file with a list of warnings.
public bool SaveExcel(string fileName, ExcelWarningList warningList)
Public Function SaveExcel(fileName As String, warningList As ExcelWarningList) As Boolean
Type | Name | Description |
---|---|---|
string | fileName | Path and name of file |
ExcelWarningList | warningList | List of Excel warnings |
Type | Description |
---|---|
bool |
Type | Condition |
---|---|
FileNotFoundException | Specified file is not found |
ArgumentNullException | No file name is specified (or specified file name is null) |
ArgumentException | No file name is specified (or specified file name is empty) |
Saves the content of the Spread component to the specified Excel-compatible file with the headers exported as data.
public bool SaveExcel(string fileName, IncludeHeaders includeHeaders)
Public Function SaveExcel(fileName As String, includeHeaders As IncludeHeaders) As Boolean
Type | Name | Description |
---|---|---|
string | fileName | Path and name of file |
IncludeHeaders | includeHeaders | Whether to include headers |
Type | Description |
---|---|
bool |
Type | Condition |
---|---|
FileNotFoundException | Specified file is not found |
ArgumentNullException | No file name is specified (or specified file name is null) |
ArgumentException | No file name is specified (or specified file name is empty) |
Saves the content of the Spread component to the specified Excel-compatible file with headers and a list of warnings.
public bool SaveExcel(string fileName, IncludeHeaders includeHeaders, ExcelWarningList warningList)
Public Function SaveExcel(fileName As String, includeHeaders As IncludeHeaders, warningList As ExcelWarningList) As Boolean
Type | Name | Description |
---|---|---|
string | fileName | Path and name of file |
IncludeHeaders | includeHeaders | Whether to include headers |
ExcelWarningList | warningList | List of Excel warnings |
Type | Description |
---|---|
bool |
Type | Condition |
---|---|
FileNotFoundException | Specified file is not found |
ArgumentNullException | No file name is specified (or specified file name is null) |
ArgumentException | No file name is specified (or specified file name is empty) |