Skip to content

Class ExcelTextFormatBase

Namespace: OfficeOpenXml
Assembly: EPPlus.dll

Describes how to split a CSV text. Used by the ExcelRange.LoadFromText method. Base class for ExcelTextFormat and ExcelOutputTextFormat ExcelTextFormat ExcelOutputTextFormat

public class ExcelTextFormatBase

Inheritance

object ← ExcelTextFormatBase

Derived

ExcelOutputTextFormat
ExcelTextFormat

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Constructors

ExcelTextFormatBase()

Creates a new instance if ExcelTextFormatBase

public ExcelTextFormatBase()

Properties

Culture

Culture used when parsing. Default CultureInfo.InvariantCulture

public CultureInfo Culture { get; set; }

Property Value

CultureInfo

Delimiter

Delimiter character

public char Delimiter { get; set; }

Property Value

char

EOL

End of line characters. Default is CRLF

public string EOL { get; set; }

Property Value

string

Encoding

Only used when reading/writing files from disk using a FileInfo object. Default AscII

public Encoding Encoding { get; set; }

Property Value

Encoding

SkipLinesBeginning

Number of lines skipped in the begining of the file. Default 0.

public int SkipLinesBeginning { get; set; }

Property Value

int

SkipLinesEnd

Number of lines skipped at the end of the file. Default 0.

public int SkipLinesEnd { get; set; }

Property Value

int

TextQualifier

Text qualifier character. Default no TextQualifier (\0)

public char TextQualifier { get; set; }

Property Value

char