Skip to main content

GridControl.ExportToDocx(Stream, DocxExportOptions) Method

Exports the control’s data in the Office Open XML format (DOCX file) and sends it to the specified stream.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public void ExportToDocx(
    Stream stream,
    DocxExportOptions options
)

Parameters

Name Type Description
stream Stream

A Stream object that specifies the stream to which the document should be sent.

options DocxExportOptions

A DocxExportOptions object that specifies how to export data.

See Also