Workbook
LoadFromFile Method (String, String, Int32, Int32, ExcelVersion)
|
Loads text files with user defined separator.
Namespace:
Spire.Xls
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void LoadFromFile(
string fileName,
string separator,
int row,
int column,
ExcelVersion version
)
Public Sub LoadFromFile (
fileName As String,
separator As String,
row As Integer,
column As Integer,
version As ExcelVersion
)
public:
void LoadFromFile(
String^ fileName,
String^ separator,
int row,
int column,
ExcelVersion version
)
member LoadFromFile :
fileName : string *
separator : string *
row : int *
column : int *
version : ExcelVersion -> unit
Parameters
-
fileName
-
Type:
System
String
File name.
-
separator
-
Type:
System
String
Delimiter of text file.
-
row
-
Type:
System
Int32
Start row.
-
column
-
Type:
System
Int32
Start column.
-
version
-
Type:
Spire.Xls
ExcelVersion
workbook version
See Also