Back to Devexpress

PivotGridControl.ExportToPdf(Stream) Method

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

latest2.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

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

Parameters

NameTypeDescription
streamStream

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

ExportToHtml

ExportToMht

ExportToRtf

ExportToText

ExportToXls

PivotGridControl Class

PivotGridControl Members

DevExpress.XtraPivotGrid Namespace