ExcelPackage Constructor (FileInfo, Boolean, String)
From Office Open XML
|
|
| EPPlus 3.0 |
| ExcelPackage Constructor (FileInfo, Boolean, String) |
| ExcelPackage Class See Also Send Feedback |
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, string password ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ template As FileInfo, _ useStream As Boolean, _ password As String _ ) |
| Visual C++ |
|---|
public: ExcelPackage( FileInfo^ template, bool useStream, String^ password ) |
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