com.aspose.slides
Interface IMasterSlideCollection

All Superinterfaces:
com.aspose.ms.System.Collections.IEnumerable<IMasterSlide>, IGenericCollection<IMasterSlide>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IMasterSlide>, java.lang.Iterable<IMasterSlide>
All Known Implementing Classes:
MasterSlideCollection

public interface IMasterSlideCollection
extends IGenericCollection<IMasterSlide>


Method Summary
 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.
 
Methods inherited from interface com.aspose.slides.IGenericCollection
copyTo, getSyncRoot, isSynchronized, size
 
Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable
iterator
 

Method Detail

get_Item

IMasterSlide get_Item(int index)

Gets the element at the specified index. Read-only IMasterSlide.


remove

void remove(IMasterSlide value)

Removes the first occurrence of a specific object from the collection.

Parameters:
value - The master slide to remove from the collection.

removeAt

void removeAt(int index)

Removes the element at the specified index of the collection.

Parameters:
index - The zero-based index of the element to remove.

removeUnused

void removeUnused(boolean ignorePreserveField)

Removes unused master slides.

Parameters:
ignorePreserveField - Determines, whether this method should remove unused master even if its MasterSlideEx.Preserve property is set to true.

addClone

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.

Parameters:
sourceMasterSlide - to clone.
Returns:
Added slide.

insertClone

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.

Parameters:
index - Index of new slide.
sourceMaster - Slide to clone.
Returns:
Inserted master slide.


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.