AddSummaryZoomSection()

SummaryZoomSectionCollection::AddSummaryZoomSection(System::SharedPtr<ISection>) method

Creates new Summary Zoom Section object and add it to the collection

System::SharedPtr<ISummaryZoomSection> Aspose::Slides::SummaryZoomSectionCollection::AddSummaryZoomSection(System::SharedPtr<ISection> section) override

Arguments

ParameterTypeDescription
sectionSystem::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