[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.CsvOpenOptions

Class CsvOpenOptions

Namespace
GrapeCity.Documents.Excel
Assembly
GcDocs.Excel.dll

Option class for opening csv file.

public class CsvOpenOptions : OpenOptionsBase
Inheritance
object
CsvOpenOptions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

CsvOpenOptions()

Constructor.

public CsvOpenOptions()

Properties

CellSeparator

Gets or sets a char value as cell separator.

public char CellSeparator { get; set; }

Property Value

char

ColumnSeparator

Gets or sets a string value as column separator.

public string ColumnSeparator { get; set; }

Property Value

string

ConvertDateTimeData

Gets or sets a value that indicates whether the string in text file is converted to date data,Default is true.

public bool ConvertDateTimeData { get; set; }

Property Value

bool

ConvertNumericData

Gets or sets a value that indicates whether the string in text file is converted to numeric data,Default is true.

public bool ConvertNumericData { get; set; }

Property Value

bool

Encoding

Gets or sets the default encoding, default is utf-8.

public Encoding Encoding { get; set; }

Property Value

System.Text.Encoding

HasFormula

Indicates whether the text is formula if it starts with "=", default is true.

public bool HasFormula { get; set; }

Property Value

bool

Parser

Gets or sets custom parser.

public ICsvParser Parser { get; set; }

Property Value

ICsvParser

ParseStyle

Indicates whether to apply style for parsed values when converting string value to number or datetime,Default is true.

public bool ParseStyle { get; set; }

Property Value

bool

RowSeparator

Gets or sets a string value as row separator.

public string RowSeparator { get; set; }

Property Value

string

SeparatorString

Gets or sets a string value as column separator.

[Obsolete("SeparatorString is obsolete, use ColumnSeparator.")]
public string SeparatorString { get; set; }

Property Value

string