public final class SummaryZoomSectionCollection extends DomObject<SummaryZoomFrame> implements ISummaryZoomSectionCollection
Represents a collection of Summary Zoom Section objects.
| Modifier and Type | Method and Description |
|---|---|
ISummaryZoomSection |
addSummaryZoomSection(ISection section)
Creates new Summary Zoom Section object and add it to the collection
|
void |
clear()
Removes all SummaryZoomSection objects from the collection.
|
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies the entire collection to the specified array.
|
ISummaryZoomSection |
get_Item(int index)
Gets the element at the specified index.
|
ISummaryZoomSection |
getSummarySection(ISection section)
Returns Summary Zoom Section element for the given section.
|
java.lang.Object |
getSyncRoot()
Returns a synchronization root.
|
int |
indexOf(ISummaryZoomSection summaryZoomSection)
Returns an index of the specified SummaryZoomSection object.
|
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ISummaryZoomSection> |
iterator()
Returns an enumerator that iterates through the collection.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ISummaryZoomSection> |
iteratorJava()
Returns a java iterator for the entire collection.
|
void |
removeSummaryZoomSection(ISection section)
Remove Summary Zoom Section object from the collection.
|
int |
size()
Gets the number of elements actually contained in the collection.
|
getParent_Immediatepublic final ISummaryZoomSection get_Item(int index)
Gets the element at the specified index.
Read-only ISummaryZoomSection.
The example demonstrates getting Summary Zoom Section element by index:Presentation pres = new Presentation("pres.pptx"); try { ISummaryZoomFrame zoomFrame = (ISummaryZoomFrame)pres.getSlides().get_Item(1).getShapes().get_Item(0); ISummaryZoomSectionCollection collection = zoomFrame.getSummaryZoomCollection(); ISummaryZoomSection zoomSection = collection.get_Item(1); } finally { if (pres != null) pres.dispose(); }
get_Item in interface ISummaryZoomSectionCollectionpublic final ISummaryZoomSection addSummaryZoomSection(ISection section)
Creates new Summary Zoom Section object and add it to the collection
The example demonstrates getting Summary Zoom Section element by index:Presentation pres = new Presentation("pres.pptx"); try { ISummaryZoomFrame zoomFrame = (ISummaryZoomFrame)pres.getSlides().get_Item(1).getShapes().get_Item(0); ISummaryZoomSectionCollection collection = zoomFrame.getSummaryZoomCollection(); ISummaryZoomSection newZoomSection = collection.addSummaryZoomSection(pres.getSections().get_Item(3)); } finally { if (pres != null) pres.dispose(); }
addSummaryZoomSection in interface ISummaryZoomSectionCollectionsection - Section for a new Summary Zoom Section element ISection
ISummaryZoomFrame elementcom.aspose.ms.System.ArgumentException - Referenced section does not belong to the current presentation or does not contains any slides.public final int size()
Gets the number of elements actually contained in the collection.
Read-only int.
size in interface com.aspose.ms.System.Collections.ICollection<ISummaryZoomSection>public final int indexOf(ISummaryZoomSection summaryZoomSection)
Returns an index of the specified SummaryZoomSection object.
The example demonstrates getting Summary Zoom Section element by index:Presentation pres = new Presentation("pres.pptx"); try { ISummaryZoomFrame zoomFrame = (ISummaryZoomFrame)pres.getSlides().get_Item(1).getShapes().get_Item(0); ISummaryZoomSectionCollection collection = zoomFrame.getSummaryZoomCollection(); ISummaryZoomSection selectedObject = collection.getSummarySection(pres.getSections().get_Item(2)); int idx = collection.indexOf(selectedObject); } finally { if (pres != null) pres.dispose(); }
indexOf in interface ISummaryZoomSectionCollectionsummaryZoomSection - SummaryZoomSection object to find ISummaryZoomSection.public final void removeSummaryZoomSection(ISection section)
Remove Summary Zoom Section object from the collection.
The example demonstrates getting Summary Zoom Section element by index:Presentation pres = new Presentation("pres.pptx"); try { ISummaryZoomFrame zoomFrame = (ISummaryZoomFrame)pres.getSlides().get_Item(1).getShapes().get_Item(0); ISummaryZoomSectionCollection collection = zoomFrame.getSummaryZoomCollection(); collection.removeSummaryZoomSection(pres.getSections().get_Item(1)); } finally { if (pres != null) pres.dispose(); }
removeSummaryZoomSection in interface ISummaryZoomSectionCollectionsection - Section for which the Summary Zoom Section element is to be removed ISection.public final ISummaryZoomSection getSummarySection(ISection section)
Returns Summary Zoom Section element for the given section.
The example demonstrates getting Summary Zoom Section element by index:Presentation pres = new Presentation("pres.pptx"); try { ISummaryZoomFrame zoomFrame = (ISummaryZoomFrame)pres.getSlides().get_Item(1).getShapes().get_Item(0); ISummaryZoomSectionCollection collection = zoomFrame.getSummaryZoomCollection(); ISummaryZoomSection selectedObject = collection.getSummarySection(pres.getSections().get_Item(2)); } finally { if (pres != null) pres.dispose(); }
getSummarySection in interface ISummaryZoomSectionCollectionsection - Section to find ISectionISummaryZoomSection or null if collection does not contains element for the section.public final void clear()
Removes all SummaryZoomSection objects from the collection.
The example demonstrates getting Summary Zoom Section element by index:Presentation pres = new Presentation("pres.pptx"); try { ISummaryZoomFrame zoomFrame = (ISummaryZoomFrame)pres.getSlides().get_Item(1).getShapes().get_Item(0); ISummaryZoomSectionCollection collection = zoomFrame.getSummaryZoomCollection(); collection.clear(); } finally { if (pres != null) pres.dispose(); }
clear in interface ISummaryZoomSectionCollectionpublic final void copyTo(com.aspose.ms.System.Array array,
int index)
Copies the entire collection to the specified array.
copyTo in interface com.aspose.ms.System.Collections.ICollection<ISummaryZoomSection>array - Target arrayindex - Index in the target array.public final boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
Read-only boolean.
isSynchronized in interface com.aspose.ms.System.Collections.ICollection<ISummaryZoomSection>public final java.lang.Object getSyncRoot()
Returns a synchronization root.
Read-only Object.
getSyncRoot in interface com.aspose.ms.System.Collections.ICollection<ISummaryZoomSection>public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ISummaryZoomSection> iterator()
Returns an enumerator that iterates through the collection.
iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ISummaryZoomSection>iterator in interface com.aspose.ms.System.Collections.IEnumerable<ISummaryZoomSection>iterator in interface java.lang.Iterable<ISummaryZoomSection>IGenericEnumerator that can be used to iterate through the collection.public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ISummaryZoomSection> iteratorJava()
Returns a java iterator for the entire collection.
iteratorJava in interface IGenericCollection<ISummaryZoomSection>Iterator for the entire collection.Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.