TextExportOptionsBase.TextExportMode Property

Gets or sets a value indicating whether to use the formatting of the data fields in the bound dataset for the cells in the exported TXT, CSV, XLS or XLSX document.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v20.1.Core.dll

Declaration

[DefaultValue(TextExportMode.Text)]
public TextExportMode TextExportMode { get; set; }
<DefaultValue(TextExportMode.Text)>
Public Property TextExportMode As TextExportMode

Property Value

Type Default Description
TextExportMode

Text

A TextExportMode enumeration value.

Property Paths

You can access this nested property as listed below:

Show 24 property paths
Library Object Type Path to TextExportMode
Cross-Platform Class Library RemotePrintingSystem
.ExportOptions.Text.TextExportMode
RemotePrintingSystem
.ExportOptions.Csv.TextExportMode
ExportOptions
.Text.TextExportMode
ExportOptions
.Csv.TextExportMode
PrintingSystemBase
.ExportOptions.Text.TextExportMode
PrintingSystemBase
.ExportOptions.Csv.TextExportMode
WinForms Controls PrintingSystem
.ExportOptions.Text.TextExportMode
PrintingSystem
.ExportOptions.Csv.TextExportMode
XtraSchedulerReport
.ExportOptions.Text.TextExportMode
XtraSchedulerReport
.ExportOptions.Csv.TextExportMode
WPF Controls ExportOptionsContainer
.Text.TextExportMode
ExportOptionsContainer
.Csv.TextExportMode
PrintingSystem
.ExportOptions.Text.TextExportMode
PrintingSystem
.ExportOptions.Text.TextExportMode
PrintingSystem
.ExportOptions.Csv.TextExportMode
PrintingSystem
.ExportOptions.Csv.TextExportMode
Reporting XtraReport
.ExportOptions.Text.TextExportMode
XtraReport
.ExportOptions.Csv.TextExportMode
DocumentOperationRequest
.ExportOptions.Text.TextExportMode
DocumentOperationRequest
.ExportOptions.Csv.TextExportMode
Silverlight Controls PrintingSystem
.ExportOptions.Text.TextExportMode
PrintingSystem
.ExportOptions.Text.TextExportMode
PrintingSystem
.ExportOptions.Csv.TextExportMode
PrintingSystem
.ExportOptions.Csv.TextExportMode

Remarks

Use the TextExportMode property to specify whether to use the formatting of the data fields in the bound dataset for the cells in the resulting export document.

Note that if the TextExportMode property is set to Text, all data fields are exported as strings, with the corresponding formatting embedded into those strings. And, if the TextExportMode property is set to Value, all formatting will be lost in the resulting file.

When exporting a PivotGridControl, this property also affects field values (if these values are different from the display text). For example, when a field's PivotGridFieldBase.GroupInterval is set to Month, this property determines whether it will be exported in numeric or string format.

See Also