|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.MasterSlidesEx
com.aspose.slides.MasterSlideExCollection
public final class MasterSlideExCollection
Represents a collection of master slides.
Method Summary | |
---|---|
int |
addClone(MasterSlideEx slide)
Adds a copy of a specified slide to the end of the collection. |
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies all elements from the collection to the specified array. |
MasterSlideEx |
get_Item(int index)
Gets the element at the specified index. |
int |
getCount()
Gets the number of elements actually contained in the collection. |
java.lang.Object |
getSyncRoot()
Returns a synchronization root. |
void |
insertClone(int index,
MasterSlideEx slide)
Inserts a copy of a specified slide to specified position of the collection. |
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe). |
com.aspose.ms.System.Collections.IEnumerator<MasterSlideEx> |
iterator()
Returns an enumerator for the entire collection. |
void |
remove(MasterSlideEx 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. |
int |
size()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void copyTo(com.aspose.ms.System.Array array, int index)
Copies all elements from the collection to the specified array.
copyTo
in interface com.aspose.ms.System.Collections.ICollection<MasterSlideEx>
array
- Target array.index
- Starting index in the target array.public boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
isSynchronized
in interface com.aspose.ms.System.Collections.ICollection<MasterSlideEx>
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Readonly object
.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection<MasterSlideEx>
public int size()
size
in interface com.aspose.ms.System.Collections.ICollection<MasterSlideEx>
public int getCount()
MasterSlidesEx
Gets the number of elements actually contained in the collection.
Read-only int
.
getCount
in class MasterSlidesEx
public MasterSlideEx get_Item(int index)
MasterSlidesEx
Gets the element at the specified index.
Read-only MasterSlideEx
.
get_Item
in class MasterSlidesEx
public void remove(MasterSlideEx value)
MasterSlidesEx
Removes the first occurrence of a specific object from the collection.
remove
in class MasterSlidesEx
value
- The master slide to remove from the collection.public void removeAt(int index)
MasterSlidesEx
Removes the element at the specified index of the collection.
removeAt
in class MasterSlidesEx
index
- The zero-based index of the element to remove.public void removeUnused(boolean ignorePreserveField)
MasterSlidesEx
Removes unused master slides.
removeUnused
in class MasterSlidesEx
ignorePreserveField
- Determines, whether this method should remove unused master even if its MasterSlideEx.Preserve
property is set to true.public int addClone(MasterSlideEx slide)
MasterSlidesEx
Adds a copy of a specified slide to the end of the collection. Linked layout slides will be copied too.
addClone
in class MasterSlidesEx
slide
- Slide to clone.
public void insertClone(int index, MasterSlideEx slide)
MasterSlidesEx
Inserts a copy of a specified slide to specified position of the collection. Linked layout slides will be copied too.
insertClone
in class MasterSlidesEx
index
- Index of new slide.slide
- Slide to clone.public com.aspose.ms.System.Collections.IEnumerator<MasterSlideEx> iterator()
MasterSlidesEx
Returns an enumerator for the entire collection.
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<MasterSlideEx>
iterator
in interface java.lang.Iterable<MasterSlideEx>
iterator
in class MasterSlidesEx
IEnumerator
for the entire collection.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |