PFExcelDataExporterUtilsSaveWorkbookInResponse Method |
Saves the workbook in a response stream.
Adds the content-type headers for .xlsx files and ends the response.
Namespace:
Packflow.Interface.Office
Assembly:
MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax public static void SaveWorkbookInResponse(
HttpResponse response,
string fileName,
XLWorkbook workbook
)
Parameters
- response
- Type: System.WebHttpResponse
The HttpResponse object. - fileName
- Type: SystemString
Name of the file, without extension - workbook
- Type: XLWorkbook
The workbook to save.
See Also