Skip to main content

CsvExportOptions(String, Encoding, TextExportMode) Constructor

Initializes a new instance of the CsvExportOptions class with the specified separator, encoding and text export mode settings.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

public CsvExportOptions(
    string separator,
    Encoding encoding,
    TextExportMode textExportMode
)

Parameters

Name Type Description
separator String

A String containing symbols which will be used to separate the document’s text elements in the created CSV file. This value is assigned to the TextExportOptionsBase.Separator property.

encoding Encoding

A Encoding class descendant, specifying the encoding of the created CSV document. This value is assigned to the TextExportOptionsBase.Encoding property.

textExportMode TextExportMode

A TextExportMode enumeration value, specifying a format in which data values should be saved. This value is assigned to the TextExportOptionsBase.TextExportMode property.

See Also