GetSummarySection

ISummaryZoomSectionCollection.GetSummarySection method

Returns Summary Zoom Section element for the given section.

public ISummaryZoomSection GetSummarySection(ISection section)
ParameterTypeDescription
sectionISectionSection to find ISection

Return Value

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

Examples

The example demonstrates getting Summary Zoom Section element by index:

[C#]
using (Presentation pres = new Presentation("pres.pptx"))
{
    ISummaryZoomFrame zoomFrame = (ISummaryZoomFrame) pres.Slides[1].Shapes[0];
    ISummaryZoomSectionCollection collection = zoomFrame.SummaryZoomCollection;
    ISummaryZoomSection selectedObject = collection.GetSummarySection(pres.Sections[2]);
}

See Also