CustomLayout Object

PowerPoint Developer Reference

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:

Visual Basic for Applications
  ActiveWindow.Selection.SlideRange(1).CustomLayout
Visual Basic for Applications
  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