Description
Passes a presentation from PowerPointApplication to PowerPointTemplate.
C#
vb.net
Parameters
pptApplication
The instance ofPowerPointApplication
that was used to create the spreadsheet.
presentation
A Presentation object representing the PowerPoint file created withPowerPointApplication
.
Exceptions
ArgumentNullException
Open will throw this exception ifnull
(C#) or Nothing
(VB.NET) is passed to the method.
ArgumentException
Remarks
You can usePowerPointApplication
to create a document with data markers (a template) and pass the file to PowerPointTemplate
to populate the data markers.
Examples
C#
vb.net