PivotGridControl.ExportToText(String, String) Method

Exports the Pivot Grid Control's data to a text file at the specified path and with the specified separator string.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.1.dll

Declaration

public void ExportToText(
    string filePath,
    string separator
)
Public Sub ExportToText(
    filePath As String,
    separator As String
)

Parameters

Name Type Description
filePath String

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

separator String

A String which contains the symbols that will be used to separate the text elements of the document in the created text file. The default value is "\t".

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