ExcelPackage Constructor (FileInfo)

Office Open XML

Create a new instance of the ExcelPackage class based on a existing file or creates a new file.

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

Syntax

C#
public ExcelPackage(
	FileInfo newFile
)
Visual Basic (Declaration)
Public Sub New ( _
	newFile As FileInfo _
)
Visual C++
public:
ExcelPackage(
	FileInfo^ newFile
)

Parameters

newFile
Type: System.IO..::.FileInfo
If newFile exists, it is opened. Otherwise it is created from scratch.

See Also