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

BaseView.ExportToTextOld(String) Method

OBSOLETE

Use the ExportToText method instead

Exports the GridControl.DefaultView‘s data to the specified file in TXT format.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

[Obsolete("Use the ExportToText method instead")]
public void ExportToTextOld(
    string fileName
)

Parameters

Name Type Description
fileName String

A string that specifies the full path to the file to which the View’s data will be exported.

Remarks

This method is obsolete. Although the ExportToTextOld method can still be used in your applications to export data, we recommend you use the BaseView.ExportToText method instead. Note that the BaseView.ExportToText requires the XtraPrinting Library to be available.

The ExportToTextOld method Exports the GridControl.DefaultView‘s data to the specified file in TXT format. When the ExportToTextOld method is called for a master View the detail Views will also be exported along with the master View’s data. Group rows (in Grid Views) will be expanded in the output.

See Export Overview for more information.

See Also