Share via


CustomLayout.Duplicate Method

Creates a duplicate of the specified custom layout, adds the new custom layout to the CustomLayouts collection immediately after the original custom layout, and returns a CustomLayout object that represents the duplicate layout.

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

Syntax

'Declaration
Function Duplicate As CustomLayout
'Usage
Dim instance As CustomLayout
Dim returnValue As CustomLayout

returnValue = instance.Duplicate()
CustomLayout Duplicate()

Return Value

Type: Microsoft.Office.Interop.PowerPoint.CustomLayout

See Also

Reference

CustomLayout Interface

CustomLayout Members

Microsoft.Office.Interop.PowerPoint Namespace