GetSummarySection

ISummaryZoomSectionCollection.GetSummarySection метод

Возвращает элемент Summary Zoom Section для заданного раздела.

public ISummaryZoomSection GetSummarySection(ISection section)
ПараметрТипОписание
sectionISectionРаздел для нахождения ISection

Возвращаемое значение

ISummaryZoomSection или null, если коллекция не содержит элемент для раздела.

Примеры

Пример демонстрирует получение элемента Summary Zoom Section по индексу:

[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]);
}

См. также