MasterLayoutSlideCollection class

MasterLayoutSlideCollection class

Represents a collections of all layout slides of defined master slide. Extends LayoutSlideCollection class with methods for adding/inserting/removing/cloning/reordering layout slides in context of the individual collections of master’s layout slides.

Inheritance:MasterLayoutSlideCollectionLayoutSlideCollection

The MasterLayoutSlideCollection type exposes the following members:

Indexer

NameDescription
[index]

Methods

MethodDescription
get_by_type(self, type)Returns the first layout slide of specified type.
A type of layout slide to find.LayoutSlide with specified type or None if no layouts found.
remove(self, value)Removes a layout from the collection.
remove_unused(self)Removes unused layout slides (layout slides whose HasDependingSlides is false).
add_clone(self, source_layout)Adds a copy of a specified layout slide to the end of the collection.
insert_clone(self, index, source_layout)Inserts a copy of a specified layout slide to specified position of the collection.
add(self, layout_type, layout_name)Adds a new layout slide to the end of the collection.
insert(self, index, layout_type, layout_name)Inserts a new layout slide to specified position of the collection.
remove_at(self, index)Removes the element at the specified index of the collection.
reorder(self, index, layout_slide)Moves layout slide from the collection to the specified position.

See Also