public interface ISummaryZoomSectionCollection extends IGenericCollection<ISummaryZoomSection>
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.
|
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.
|
int |
indexOf(ISummaryZoomSection summaryZoomSection)
Returns an index of the specified SummaryZoomSection object.
|
void |
removeSummaryZoomSection(ISection section)
Remove Summary Zoom Section object from the collection.
|
iteratorJava
iterator
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(); }
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(); }
section
- Section for a new Summary Zoom Section element ISection
ISummaryZoomFrame
elementISummaryZoomSection 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(); }
section
- Section to find ISection
ISummaryZoomSection
or null if collection does not contains element for the section.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(); }
section
- Section for which the Summary Zoom Section element is to be removed ISection
.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(); }
summaryZoomSection
- SummaryZoomSection object to find ISummaryZoomSection
.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(); }
Copyright © 2004-2021 Aspose Pty Ltd. All Rights Reserved.