Skip to main content

PivotGridControl.ExportToRtf(Stream) Method

Exports the Pivot Grid Control’s data as Rich Text and sends it to the specified stream.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.1.dll

NuGet Package: DevExpress.Win.PivotGrid


public void ExportToRtf(
    Stream stream


Name Type Description
stream Stream

A Stream object which the created document is exported to.


The Pivot Grid Control’s data can only be exported if the XtraPrinting Library is available. Use the PivotGridControl.IsPrintingAvailable property to check whether the grid’s data can be exported.

See Also