LoadFromText Method (FileInfo, ExcelTextFormat, TableStyles, Boolean)

Office Open XML

Loads a CSV file into a range starting from the top left cell.

Namespace:  OfficeOpenXml
Assembly:  EPPlus (in EPPlus.dll) Version: 3.0.0.1 (3.0.0.1)

Syntax

C#
public ExcelRangeBase LoadFromText(
	FileInfo TextFile,
	ExcelTextFormat Format,
	TableStyles TableStyle,
	bool FirstRowIsHeader
)
Visual Basic (Declaration)
Public Function LoadFromText ( _
	TextFile As FileInfo, _
	Format As ExcelTextFormat, _
	TableStyle As TableStyles, _
	FirstRowIsHeader As Boolean _
) As ExcelRangeBase
Visual C++
public:
ExcelRangeBase^ LoadFromText(
	FileInfo^ TextFile, 
	ExcelTextFormat^ Format, 
	TableStyles TableStyle, 
	bool FirstRowIsHeader
)

Parameters

TextFile
Type: System.IO..::.FileInfo
The Textfile
Format
Type: OfficeOpenXml..::.ExcelTextFormat
Information how to load the text
TableStyle
Type: OfficeOpenXml.Table..::.TableStyles
Create a table with this style
FirstRowIsHeader
Type: System..::.Boolean
Use the first row as header

Return Value

[Missing <returns> documentation for "M:OfficeOpenXml.ExcelRangeBase.LoadFromText(System.IO.FileInfo,OfficeOpenXml.ExcelTextFormat,OfficeOpenXml.Table.TableStyles,System.Boolean)"]

See Also