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}
{signature:
}
Signature
vb.net
vb.net
Public Sub Open(ByVal stream As System.IO.Stream)
{signature}
{parameters}
{param:stream}The stream to open the file from.{param}
{example}{code:csharp|title=C#}
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} {code:
Code Block
vb.net
|title=
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)
        
{code} {example}