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
Visual Basic (Declaration) |
Public Sub New ( _
template As FileInfo, _
useStream As Boolean, _
password As String _
)
|
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
-
password
- Type: System..::.String
Password to decrypted the template
See Also