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
Wiki Markup
{description}
{excerpt}Opens the template file from a stream.{excerpt}
{signature:C#}
public void Open(System.IO.Stream stream)
{signature}
{signature: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#}

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