ExcelPackage Constructor (Stream, Stream, String)

Office Open XML

Create a new instance of the ExcelPackage class based on a stream

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

Syntax

C#
public ExcelPackage(
	Stream newStream,
	Stream templateStream,
	string Password
)
Visual Basic (Declaration)
Public Sub New ( _
	newStream As Stream, _
	templateStream As Stream, _
	Password As String _
)
Visual C++
public:
ExcelPackage(
	Stream^ newStream, 
	Stream^ templateStream, 
	String^ Password
)

Parameters

newStream
Type: System.IO..::.Stream
The output stream. Must be an empty read/write stream.
templateStream
Type: System.IO..::.Stream
This stream is copied to the output stream at load
Password
Type: System..::.String
Password to decrypted the template

See Also