Back to Devexpress

PivotGridControl.ExportToDocx(Stream) Method

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridcontrol-dot-exporttodocx-x28-system-dot-io-dot-stream-x29.md

latest1.8 KB
Original Source

PivotGridControl.ExportToDocx(Stream) Method

Exports the Pivot Grid Control’s data to a DOCX document and sends it to the specified stream.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public void ExportToDocx(
    Stream stream
)
vb
Public Sub ExportToDocx(
    stream As Stream
)

Parameters

NameTypeDescription
streamStream

A Stream object which the created document is exported to.

|

Remarks

The ExportToDocx method indirectly calls the PrintingSystemBase.ExportToDocx method of the XtraPrinting Library. If this library is not available, the method does nothing. For details on the ExportToDocx method, see the PrintingSystemBase.ExportToDocx topic.

For general information on exporting data, see Exporting.

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.XtraPivotGrid Namespace