CsvSourceOptions.NewlineType Property
In This Article
Gets or sets the character used to identify a new line in a CSV document.
Namespace: DevExpress.DataAccess.Excel
Assembly: DevExpress.DataAccess.v24.2.dll
NuGet Package: DevExpress.DataAccess
#Declaration
[DefaultValue(CsvNewlineType.CRLF)]
public CsvNewlineType NewlineType { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Csv |
CRLF | A Csv |
Available values:
Name | Description |
---|---|
CRLF | A carriage return/linefeed character combination. |
LF | A line feed character. |
CR | A carriage return character. |
LFCR | A carriage linefeed/return character combination. |
VT | A vertical tab character. |
FF | A form feed character for the print function. |
#Remarks
Use the CsvSourceOptions.DetectNewlineType property to specify whether the character used to identify a new line is automatically determined.
See Also