public interface IMasterSlideCollection extends IGenericCollection<IMasterSlide>
Modifier and Type | Method and Description |
---|---|
IMasterSlide |
addClone(IMasterSlide sourceMaster)
Adds a copy of a specified master slide to the end of the collection.
|
IMasterSlide |
get_Item(int index)
Gets the element at the specified index.
|
IMasterSlide |
insertClone(int index,
IMasterSlide sourceMaster)
Inserts a copy of a specified master slide to specified position of the collection.
|
void |
remove(IMasterSlide value)
Removes the first occurrence of a specific object from the collection.
|
void |
removeAt(int index)
Removes the element at the specified index of the collection.
|
void |
removeUnused(boolean ignorePreserveField)
Removes unused master slides.
|
iterator
IMasterSlide get_Item(int index)
Gets the element at the specified index.
Read-only IMasterSlide
.
void remove(IMasterSlide value)
Removes the first occurrence of a specific object from the collection.
value
- The master slide to remove from the collection.void removeAt(int index)
Removes the element at the specified index of the collection.
index
- The zero-based index of the element to remove.void removeUnused(boolean ignorePreserveField)
Removes unused master slides.
ignorePreserveField
- Determines, whether this method should remove unused
master even if its IMasterSlide.getPreserve()
/IMasterSlide.setPreserve(boolean)
property is set to true.IMasterSlide addClone(IMasterSlide sourceMaster)
Adds a copy of a specified master slide to the end of the collection. Linked layout slides will be copied too.
sourceMaster
- Slide to clone.IMasterSlide insertClone(int index, IMasterSlide sourceMaster)
Inserts a copy of a specified master slide to specified position of the collection. Linked layout slides will be copied too.
index
- Index of new slide.sourceMaster
- Slide to clone.