Skip to main content

CsvSourceOptions.NewlineType Property

Gets or sets the character used to identify a new line in a CSV document.

Namespace: DevExpress.DataAccess.Excel

Assembly: DevExpress.DataAccess.v24.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public CsvNewlineType NewlineType { get; set; }

Property Value

Type Description
CsvNewlineType

A CsvNewlineType object that specifies the character used to identify a new line in a CSV document.

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