GridViewExtension.WriteDocx(GridViewSettings, Object, Stream, DocxExportOptions) Method
In This Article
Exports the grid’s data to a stream in CSV format with the specified export options.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public static void WriteDocx(
GridViewSettings settings,
object dataObject,
Stream stream,
DocxExportOptions exportOptions
)
#Parameters
Name | Type | Description |
---|---|---|
settings | Grid |
A Grid |
data |
Object | An object representing the Grid |
stream | Stream | A Stream object to which the data is exported. |
export |
Docx |
A Docx |
#Remarks
DevExpress controls require the DevExpress.RichEdit.v24.2.Export.dll library to export their content to DOCX or RTF format.
See Also