Skip to main content

BaseView.ExportToDocx(Stream, DocxExportOptions) Method

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

Namespace: DevExpress.XtraGrid.Views.Base

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