[]
        
(Showing Draft Content)

FarPoint.Web.Spread.FpSpread.SaveExcelToResponse

SaveExcelToResponse Method

SaveExcelToResponse()

Saves the contents of the Spread component to a Response object in Excel file format with default settings.

Declaration
public bool SaveExcelToResponse()
Public Function SaveExcelToResponse() As Boolean
Returns
Type Description
bool

SaveExcelToResponse(string)

Saves the contents of the Spread component to a Response object in Excel file format with the specified file name.

Declaration
public bool SaveExcelToResponse(string fileName)
Public Function SaveExcelToResponse(fileName As String) As Boolean
Parameters
Type Name Description
string fileName

File name

Returns
Type Description
bool

SaveExcelToResponse(string, string)

Saves the contents of the Spread component to a Response object in Excel file format with the specified file name.

Declaration
public bool SaveExcelToResponse(string fileName, string password)
Public Function SaveExcelToResponse(fileName As String, password As String) As Boolean
Parameters
Type Name Description
string fileName

File name

string password

Password of file

Returns
Type Description
bool

SaveExcelToResponse(string, ExcelSaveFlags)

Saves the contents of the Spread component to a Response object in Excel file format with the specified file name and Excel save options.

Declaration
public bool SaveExcelToResponse(string fileName, ExcelSaveFlags flag)
Public Function SaveExcelToResponse(fileName As String, flag As ExcelSaveFlags) As Boolean
Parameters
Type Name Description
string fileName

File name

ExcelSaveFlags flag

Excel save options

Returns
Type Description
bool

SaveExcelToResponse(string, ExcelSaveFlags, string)

Saves the contents of the Spread component to a Response object in Excel file format with the specified file name and Excel save options.

Declaration
public bool SaveExcelToResponse(string fileName, ExcelSaveFlags flag, string password)
Public Function SaveExcelToResponse(fileName As String, flag As ExcelSaveFlags, password As String) As Boolean
Parameters
Type Name Description
string fileName

File name

ExcelSaveFlags flag

Excel save options

string password

Password of file

Returns
Type Description
bool