GetSummarySection()

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

Returns Summary Zoom Section element for the given section.

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

Arguments

ParameterTypeDescription
sectionSystem::SharedPtr<ISection>Section to find ISection

Return Value

ISummaryZoomSection or null if collection does not contains element for the section.

Remarks

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 selectedObject = collection->GetSummarySection(pres->get_Sections()->idx_get(2));

See Also