Skip to main content
A newer version of this page is available. .
Tab

ASPxGridExporterBase.WritePdfToResponse Method

Name Parameters Description
WritePdfToResponse() none Exports the grid’s data to a file in PDF format and writes it to the Response in binary format.
WritePdfToResponse(PdfExportOptions) exportOptions Exports the grid’s data to a file in PDF format with the specified export options, and writes it to the Response in binary format.
WritePdfToResponse(Boolean, PdfExportOptions) saveAsFile, exportOptions Exports the grid’s data to a file in PDF format with the specified export options, and writes it to the Response in binary format.
WritePdfToResponse(Boolean) saveAsFile Exports the grid’s data to a file in PDF format and writes it to the Response in binary format.
WritePdfToResponse(String, PdfExportOptions) fileName, exportOptions Exports the grid’s data to the specified file in PDF format with the specified name and export options, and writes it to the Response in binary format.
WritePdfToResponse(String, Boolean, PdfExportOptions) fileName, saveAsFile, exportOptions Exports the grid’s data to the specified file in PDF format with the specified export options, and writes it to the Response in binary format.
WritePdfToResponse(String, Boolean) fileName, saveAsFile Exports the grid’s data to the specified file in PDF format and writes it to the Response in binary format.
WritePdfToResponse(String) fileName Exports the grid’s data to the specified file in PDF format and writes it to the Response in binary format.