Partager via


CustomLayouts Interface

Represents a set of custom layouts that are associated with a presentation design.

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

Syntax

'Declaration
<GuidAttribute("914934F2-5A91-11CF-8700-00AA0060263B")> _
Public Interface CustomLayouts _
    Inherits Collection
'Usage
Dim instance As CustomLayouts
[GuidAttribute("914934F2-5A91-11CF-8700-00AA0060263B")]
public interface CustomLayouts : Collection

Remarks

Use the CustomLayouts property of the slide MasterClass object to return a CustomLayouts collection. Use CustomLayouts(index), where index is the color scheme index number, to return a single CustomLayout object.

Use the Add method to create a new custom layout and add it to the CustomLayouts collection. Use the Paste method to past slides from the Clipboard as a CustomLayout object into the CustomLayouts collection.

Use the CustomLayout property of a Slide or SlideRange object to return a custom layout for a slide or set of slides.

See Also

Reference

CustomLayouts Members

Microsoft.Office.Interop.PowerPoint Namespace