Skip to main content

CsvSourceOptions.DetectNewlineType Property

Gets or sets whether a character type used to identify a new line in a CSV document is determined automatically.

Namespace: DevExpress.DataAccess.Excel

Assembly: DevExpress.DataAccess.v24.1.dll

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

Declaration

[TypeConverter(typeof(BooleanTypeConverter))]
public bool DetectNewlineType { get; set; }

Property Value

Type Description
Boolean

true, to determine the character type automatically; otherwise, false.

Remarks

Use the CsvDocumentExporterOptions.NewlineType property to specify the character type used to identify a new line in a CSV document manually.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DetectNewlineType property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also