AddSummaryZoomSection()
ISummaryZoomSectionCollection::AddSummaryZoomSection(System::SharedPtr<ISection>) method
Creates new Summary Zoom Section object and add it to the collection
virtual System::SharedPtr<ISummaryZoomSection> Aspose::Slides::ISummaryZoomSectionCollection::AddSummaryZoomSection(System::SharedPtr<ISection> section)=0
Arguments
Parameter | Type | Description |
---|---|---|
section | System::SharedPtr<ISection> | Section for a new Summary Zoom Section element ISection |
Return Value
Added ISummaryZoomFrame element
Remarks
If an element for this section already exists in the collection, the existing element is returned.
The example demonstrates getting Summary Zoom Section element by index:
auto pres = System::MakeObject<Presentation>(u"pres.pptx");
auto shapes = pres->get_Slides()->idx_get(1)->get_Shapes();
auto zoomFrame = System::ExplicitCast<ISummaryZoomFrame>(shapes->idx_get(0));
auto collection = zoomFrame->get_SummaryZoomCollection();
auto newZoomSection = collection->AddSummaryZoomSection(pres->get_Sections()->idx_get(3));
See Also
- Typedef SharedPtr
- Class ISummaryZoomSection
- Class ISection
- Class ISummaryZoomSectionCollection
- Namespace Aspose::Slides
- Library Aspose.Slides