GetSummarySection

ISummaryZoomSectionCollection.GetSummarySection-Methode

Gibt das Summary Zoom Section-Element für den angegebenen Abschnitt zurück.

public ISummaryZoomSection GetSummarySection(ISection section)
ParameterTypBeschreibung
sectionISectionAbschnitt, um ISection zu finden

Rückgabewert

ISummaryZoomSection oder null, wenn die Sammlung kein Element für den Abschnitt enthält.

Beispiele

Das Beispiel demonstriert das Abrufen des Summary Zoom Section-Elements nach 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]);
}

Siehe auch