Skip to main content

CsvDataAwareExporterOptions.WritePreamble Property

Gets or sets whether to write a prefix that is the sequence of bytes that specifies the encoding used.

Namespace: DevExpress.XtraExport.Csv

Assembly: DevExpress.Printing.v23.2.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public bool WritePreamble { get; set; }

Property Value

Type Description
Boolean

True to write a byte array containing a sequence of bytes that specifies the encoding used; otherwise, false.

Remarks

For more information see the Encoding.GetPreamble method in MSDN.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the WritePreamble property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also