ExcelPackage Constructor (FileInfo, Boolean)
From Office Open XML
Create a new instance of the ExcelPackage class based on a existing template.
Namespace:
OfficeOpenXml
Assembly:
EPPlus (in EPPlus.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax
| C# |
|---|
public ExcelPackage( FileInfo template, bool useStream ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ template As FileInfo, _ useStream As Boolean _ ) |
| Visual C++ |
|---|
public: ExcelPackage( FileInfo^ template, bool useStream ) |
Parameters
- template
- Type: System.IO..::.FileInfo
The name of the Excel template to use as the basis of the new Excel file
- useStream
- Type: System..::.Boolean
if true use a stream. If false create a file in the temp dir with a random name
See Also