PivotGridControl.ExportToRtf(String) Method

Exports the Pivot Grid Control's data to the specified RTF file.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.1.dll

Declaration

public void ExportToRtf(
    string filePath
)
Public Sub ExportToRtf(
    filePath As String
)

Parameters

Name Type Description
filePath String

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

Remarks

This method overwrites any files present at the specified path that have the same name without warning. Note that the .rtf (or an appropriate) extension has to be specified in the path.

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