
SectionHeader ) 'Add a slide of Title type ISlide As slide6 = pptxDoc. PictureWithCaption ) 'Add a slide of SectionHeader type Dim ISlide As slide5 = pptxDoc. ContentWithCaption ) 'Add a slide of PictureWithCaption type Dim ISlide As slide4 = pptxDoc.

Comparison ) 'Add a slide of ContentWithCaption type Dim ISlide As slide3 = pptxDoc. Blank ) 'Add a slide of comparison type Dim ISlide As slide2 = pptxDoc. Create () 'Add a slide of blank layout type Dim slide1 As ISlide = pptxDoc. 'Create a PowerPoint file Dim pptxDoc As IPresentation = Presentation. Save ( "Sample.pptx" ) //Close the PowerPoint instance pptxDoc. VerticalTitleAndText ) //Save the PowerPoint file pptxDoc. TwoContent ) //Add a slide of VerticalTitleAndText type ISlide slide11 = pptxDoc. TitleOnly ) //Add a slide of TwoContent type ISlide slide10 = pptxDoc. TitleAndVerticalText ) //Add a slide of TitleOnly type ISlide slide9 = pptxDoc. TitleAndContent ) //Add a slide of TitleAndVerticalText type ISlide slide8 = pptxDoc. Title ) //Add a slide of TitleAndContent type ISlide slide7 = pptxDoc. SectionHeader ) //Add a slide of Title type ISlide slide6 = pptxDoc. PictureWithCaption ) //Add a slide of SectionHeader type ISlide slide5 = pptxDoc. ContentWithCaption ) //Add a slide of PictureWithCaption type ISlide slide4 = pptxDoc. Comparison ) //Add a slide of ContentWithCaption type ISlide slide3 = pptxDoc. Blank ) //Add a slide of comparison type ISlide slide2 = pptxDoc. Create () //Add a slide of blank layout type ISlide slide1 = pptxDoc. Create a PowerPoint presentation IPresentation pptxDoc = Presentation. Dispose () //Close the PowerPoint presentation pptxDoc.

Save ( outputStream ) //Release all resources of the stream outputStream. VerticalTitleAndText ) //Save the PowerPoint Presentation as stream FileStream outputStream = new FileStream ( OutputFileName, FileMode.

Create () //Add a slide of Blank type ISlide slide1 = pptxDoc.

Create a new instance of PowerPoint Presentation file IPresentation pptxDoc = Presentation.
