Message-ID: <2078191252.8021.1711629168172.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8020_1427988811.1711629168172" ------=_Part_8020_1427988811.1711629168172 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Opens a PowerPointWriter template presentation file from the specified S= ystem.IO.Stream instance. A PowerPointWriter template is a file created in = Microsoft PowerPoint that contains data markers where data source values wi= ll be inserted.
=20 =20public void Open(System.IO.Stream templateStream)=20
Public Sub Open(ByVal templateStream As System.IO.Stream)=20
null
(C#) or=20
Nothing
(VB.NET) is passed to the method. This exception will =
also be thrown if the stream does not represent a valid PowerPoint Office O=
pen XML file(.pptx or .pptm)=20
=20 //--- Open an Office Open XML PowerPoint (.pptx) file from a memory stream System.IO.MemoryStream memStream =3D new MemoryStream(File.ReadAllBytes(&qu= ot;template.pptx")); powerPointTemplate.Open(memStream);=20
=20 '--- Open an Office Open XML PowerPoint (.pptx) file from a memory stream Dim memStream As System.IO.MemoryStream =3D New MemoryStream(File.ReadAllB= ytes("template.pptx")) powerPointTemplate.Open(memStream)=20