CsvDocumentExporterOptions.NewlineType Property
Gets or sets a character sequence used to define a new line.
Namespace: DevExpress.XtraSpreadsheet.Export
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
[DefaultValue(NewlineType.CrLf)]
public override NewlineType NewlineType { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Newline |
Cr |
A Newline |
Available values:
Name | Description |
---|---|
Cr |
CR+LF, ‘\r\n’, 0x0D0A ASCII character sequence. |
Lf | LF, 0x0A ASCII character. |
Cr | CR, ‘\r’, 0x0D ASCII character. |
Lf |
LF+CR, 0x0A0D ASCII character sequence. |
Vertical |
Vertical Tab, 0x0B ASCII character. |
Form |
FF, 0x0C ASCII character. |
Ms |
CR+LF, ‘\r\n’, 0x0D0A ASCII character sequence. |
Unix | LF, 0x0A ASCII character. |
Auto | For import - the new line character sequence is determined automatically. For export - 0x0D0A ASCII character sequence. |
Any |
For import - any of the 0x0A, 0x0D characters or their combinations. For export - 0x0D0A ASCII character sequence. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Newline |
---|---|
Workbook |
|