Skip to main content

CsvExportOptionsEx(String, Encoding, TextExportMode, Boolean, Boolean) Constructor

Initializes a new instance of the CsvExportOptionsEx class with the specified settings.Only available in data-aware export mode.

Namespace: DevExpress.XtraPrinting

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

Declaration

public CsvExportOptionsEx(
    string separator,
    Encoding encoding,
    TextExportMode textExportMode,
    bool skipEmptyRows,
    bool skipEmptyColumns
)

Parameters

Name Type Description
separator String

A String value, specifying the symbols that are used to separate the text elements in the created CSV file. This value is assigned to the TextExportOptionsBase.Separator property.

encoding Encoding

A Encoding 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.

skipEmptyRows Boolean

true to include the empty rows into the resulting CSV file; otherwise false. This value is assigned to the CsvExportOptions.SkipEmptyRows property.

skipEmptyColumns Boolean

true to include the empty columns into the resulting CSV file; otherwise false. This value is assigned to the CsvExportOptions.SkipEmptyColumns property.

See Also