Skip to main content
A newer version of this page is available. .

PivotGridControl.ExportToPdf(String) Method

Exports the Pivot Grid Control’s data to the specified PDF file.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v19.1.dll

Declaration

public void ExportToPdf(
    string filePath
)

Parameters

Name Type Description
filePath String

A String which specifies the full path (including the file name and extension) to where the PDF file will be created.

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

See Also