Description
Opens the template file from a stream.
C#
public void Open(System.IO.Stream stream)
vb.net
Public Sub Open(ByVal stream As System.IO.Stream)
Parameters
stream
The stream to open the file from.Examples
C#
PowerPointApplication ppta = new PowerPointApplication();
FileStream fStrm = new FileStream(@"C:\Sales\2003\June.pptx", FileMode.Open);
Presentation pres = ppta.Open(fStrm);
vb.net
Dim ppta As New PowerPointApplication()
Dim fStrm As FileStream = New FileStream("C:\Sales\2003\June.pptx", FileMode.Open)
Dim pres As Presentation = ppta.Open(fStrm)
