Skip to main content

PivotGridControl.ExportToPdf(Stream) Method

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.1.dll

NuGet Package: DevExpress.Win.PivotGrid

Declaration

public void ExportToPdf(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A Stream object which the created document is exported to.

Remarks

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 data can be exported.

See Also