|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Slides
com.aspose.slides.SlideCollection
public final class SlideCollection
Represents a collection of a slides.
Method Summary | |
---|---|
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies all elements from the collection to the specified array. |
java.lang.Object |
getSyncRoot()
Returns a synchronization root. |
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe). |
int |
size()
Returns the number of all elements actually contained in the collection. |
Methods inherited from class com.aspose.slides.Slides |
---|
get_Item, getCount, getLastSlidePosition, iterator, remove, removeAt |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.aspose.ms.System.Collections.IEnumerable |
---|
iterator |
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<Slide>
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<Slide>
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Readonly object
.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection<Slide>
public int size()
Returns the number of all elements actually contained in the collection.
There are two types of slides that can be represented in the collection: Master Slides and Normal Slides.
To get the number of Normal Slides only, use method Slides.getLastSlidePosition()
:
int countSlides = presentation.getSlides().getLastSlidePosition();
size
in interface com.aspose.ms.System.Collections.ICollection<Slide>
Slides.getCount()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |