Slides.AddSlide Method

Office 2010

Creates a new slide, adds it to the Slides collection, and returns the slide.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Slide AddSlide(
	int Index,
	CustomLayout pCustomLayout
)

Parameters

Index
Type: System.Int32
The index of the slide to be added.
pCustomLayout
Type: Microsoft.Office.Interop.PowerPoint.CustomLayout
The layout of the slide.
Show:
© 2015 Microsoft