Partager via


CustomLayouts.Paste Method

Pastes the slides on the Clipboard into a custom layout and adds the custom layout to the CustomLayouts collection.

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

Syntax

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

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

Parameters

  • Index
    Type: System.Int32
    The index number of the custom layout before which the new custom layout is pasted. If this argument is omitted, the new custom layout is pasted at the end of the CustomLayouts collection.

Return Value

Type: Microsoft.Office.Interop.PowerPoint.CustomLayout

See Also

Reference

CustomLayouts Interface

CustomLayouts Members

Microsoft.Office.Interop.PowerPoint Namespace