Table of Contents

Class CsvOptions

Namespace
Openize.Cells
Assembly
Openize.OpenXMLSDK.dll

Configuration options for CSV import and export operations.

public class CsvOptions
Inheritance
CsvOptions
Inherited Members

Properties

AutoDetectDataTypes

Gets or sets whether to auto-detect data types.

public bool AutoDetectDataTypes { get; set; }

Property Value

bool

Culture

Gets or sets the number format culture (e.g., "en-US", "de-DE").

public string Culture { get; set; }

Property Value

string

DateFormat

Gets or sets the date format for parsing date values.

public string DateFormat { get; set; }

Property Value

string

Delimiter

Gets or sets the delimiter character used to separate values.

public string Delimiter { get; set; }

Property Value

string

Encoding

Gets or sets the encoding for reading/writing the CSV file.

public Encoding Encoding { get; set; }

Property Value

Encoding

HasHeaders

Gets or sets whether the first row contains headers.

public bool HasHeaders { get; set; }

Property Value

bool

MaxRows

Gets or sets the maximum number of rows to import (0 = no limit).

public int MaxRows { get; set; }

Property Value

int

SkipEmptyLines

Gets or sets whether to skip empty lines during import.

public bool SkipEmptyLines { get; set; }

Property Value

bool

TextQualifier

Gets or sets the text qualifier character (e.g., quote character).

public string TextQualifier { get; set; }

Property Value

string

TrimWhitespace

Gets or sets whether to trim whitespace from values.

public bool TrimWhitespace { get; set; }

Property Value

bool