Partager via


CustomLayout Object (PowerPoint)

Represents a custom layout associated with a presentation design. The CustomLayout object is a member of the CustomLayouts collection.

Remarks

Use the CustomLayout property of the Slide or SlideRange objects to access a CustomLayout object, for example:

ActiveWindow.Selection.SlideRange(1).CustomLayout

ActivePresentation.Slides(1).CustomLayout

Use the Add method of the CustomLayouts collection to add a new custom layout to the presentation design's custom layouts. Use the Item method to refer to a custom layout. Use the Paste method to paste the slides on the Clipboard into a custom layout and add the custom layout to the CustomLayouts collection.

See Also

Concepts

PowerPoint Object Model Reference

CustomLayout Object Members