Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Opens the template file from a stream.

Signature
C#
C#
public void Open(System.IO.Stream stream)
Signature
vb.net
vb.net
Public Sub Open(ByVal stream As System.IO.Stream)
Parameters
Param
stream
stream

The stream to open the file from.

Example
Code Block
csharp
csharp
titleC#

          PowerPointApplication ppta = new PowerPointApplication();
          FileStream fStrm = new FileStream(@"C:\Sales\2003\June.pptx", FileMode.Open);
          Presentation pres = ppta.Open(fStrm);
        
Code Block
vb.net
vb.net
titlevb.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)