Share via


CustomLayouts.Add Method

Returns a CustomLayout object that represents a new custom layout.

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

Syntax

'Declaration
Function Add ( _
    Index As Integer _
) As CustomLayout
'Usage
Dim instance As CustomLayouts
Dim Index As Integer
Dim returnValue As CustomLayout

returnValue = instance.Add(Index)
CustomLayout Add(
    int Index
)

Parameters

  • Index
    Type: System.Int32
    The index number of the custom layout. The default value is -1, which means that if the Index argument is omitted, the new custom layout is added at the end of existing custom layouts.

Return Value

Type: Microsoft.Office.Interop.PowerPoint.CustomLayout

See Also

Reference

CustomLayouts Interface

CustomLayouts Members

Microsoft.Office.Interop.PowerPoint Namespace