Back to Devexpress

PivotGridControl.ExportToText(Stream, String) Method

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

latest2.4 KB
Original Source

PivotGridControl.ExportToText(Stream, String) Method

Exports the Pivot Grid Control’s data to a text document with the specified separator string 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 ExportToText(
    Stream stream,
    string separator
)
vb
Public Sub ExportToText(
    stream As Stream,
    separator As String
)

Parameters

NameTypeDescription
streamStream

A Stream object which the created document is exported to.

| | separator | String |

A String which contains the symbols that will be used to separate the text elements. 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

ExportToHtml

ExportToMht

ExportToPdf

ExportToRtf

ExportToXls

PivotGridControl Class

PivotGridControl Members

DevExpress.XtraPivotGrid Namespace