Description
Opens a PowerPointWriter template presentation file from the specified System.IO.Stream instance. A PowerPointWriter template is a file created in Microsoft PowerPoint that contains data markers where data source values will be inserted.
C#
vb.net
Parameters
templateStream
A System.IO.Stream instance, or an instance of a class that is derived from System.IO.Stream (for example, System.IO.MemoryStream), representing the template PowerPoint presentation file.Exceptions
ArgumentException
Open will throw this exception ifnull
(C#) or Nothing
(VB.NET) is passed to the method. This exception will also be thrown if the stream does not represent a valid PowerPoint Office Open XML file(.pptx or .pptm)
Examples
C#
VB.NET