Presentations.Add Method
Creates a presentation. Returns a Presentation object that represents the new presentation.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Function Add ( _
WithWindow As MsoTriState _
) As Presentation
'Usage
Dim instance As Presentations
Dim WithWindow As MsoTriState
Dim returnValue As Presentation
returnValue = instance.Add(WithWindow)
Presentation Add(
MsoTriState WithWindow
)
Parameters
- WithWindow
Type: Microsoft.Office.Core.MsoTriState
Whether the presentation appears in a visible window.
Return Value
Type: Microsoft.Office.Interop.PowerPoint.Presentation
Remarks
The WithWindow parameter value can be one of these MsoTriState constants.
Constant |
Description |
---|---|
The new presentation isn't visible. |
|
The default. Creates the presentation in a visible window. |