Message-ID: <298435238.9359.1711689374047.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9358_1524607206.1711689374047" ------=_Part_9358_1524607206.1711689374047 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html PowerPointTemplate.Open(PowerPointWriter.PowerPointApplication, = PowerPointWriter.Presentation)

PowerPointTemplate.Open(PowerPointWriter.PowerPointApplication, Pow= erPointWriter.Presentation)

Description

=20

Passes a presentation from PowerPointApplication to PowerPointTemplate.

=20
C#
=20
 public virtual void Open(PowerPointApplication pptApplication, Presentatio=
n presentation)
=20
=20
vb.net
=20
Public Overridable Sub Open(ByVal pptApplication As PowerPointApplication, =
ByVal presentation As Presentation)
=20
=20

Parameters

=20
pptApplication
The instan= ce of=20 PowerPointApplication that was used to create the spreadsheet.= =20
presentation
A=20 Presentation o= bject representing the PowerPoint file created with=20 PowerPointApplication.=20

Exceptions

=20
ArgumentNullException=20 Open will throw this exception if=20 null (C#) or=20 Nothing (VB.NET) is passed to the method.=20
ArgumentException
=20

Remarks

You can use=20 PowerPointApplication to create a document with data markers (= a template) and pass the file to=20 PowerPointTemplate to populate the data markers.=20

Examples

=20
C#
=20

          PowerPointApplication ppta =3D new PowerPointApplication();
          Presentation pres =3D ppta.Create(PowerPointApplication.FileForma=
t.Pptx);
          PowerPointTemplate pptt =3D new PowerPointTemplate();
          pptt.Open(ppta, pres);

        
=20
=20
vb.net
=20

          Dim ppta As New PowerPointApplication()
          Dim pres As Presentation =3D ppta.Create(PowerPointApplication.Fi=
leFormat.Pptx)
          Dim pptt As New PowerPointTemplate()
          pptt.Open(ppta, pres)

        
=20
------=_Part_9358_1524607206.1711689374047--