ASPxGridExporterBase.WriteDocxToResponse(String, Boolean, DocxExportOptions) Method
Exports the grid’s data to a file in DOCX format with the specified export options, and writes it to the Response in binary format.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public void WriteDocxToResponse(
string fileName,
bool saveAsFile,
DocxExportOptions exportOptions
)
#Parameters
Name | Type | Description |
---|---|---|
file |
String | Exports the grid’s data to a file in DOCX format with the specified export options, and writes it to the Response in binary format. |
save |
Boolean |
|
export |
Docx |
A Docx |
#Remarks
Note
Before exporting a grid, the ASPx