Class ExcelTextFileFormat¶
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Describes how to split a text file. Used by the ExcelRange.LoadFromText method. Base class for ExcelTextFormatBase, ExcelTextFormatFixedWidthBase ExcelTextFormatBase ExcelTextFormatFixedWidthBase
Inheritance¶
Derived¶
ExcelTextFormatBase
ExcelTextFormatFixedWidthBase
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Constructors¶
ExcelTextFileFormat()¶
Properties¶
Culture¶
Culture used when parsing. Default CultureInfo.InvariantCulture
Property Value¶
EOL¶
End of line characters. Default is CRLF
Property Value¶
Encoding¶
Only used when reading/writing files from disk using a FileInfo object. Default AscII
Property Value¶
FirstRowIsHeader¶
The first row used contains the headers. Will be used if the import has a TableStyle?text=TableStyle set.
Property Value¶
ShouldUseRow¶
Will be called for each row. Should return true if the row should be used in the export/import, otherwise false
Property Value¶
SkipLinesBeginning¶
Number of lines skipped in the begining of the file. Default 0.
Property Value¶
SkipLinesEnd¶
Number of lines skipped at the end of the file. Default 0.
Property Value¶
TableStyle¶
If not null, create a table from the import with this style.
Property Value¶
Transpose¶
Set if data should be transposed