GetSummarySection

SummaryZoomSectionCollection.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 zeigt, wie man das Summary Zoom Section-Element anhand des Indexes erhält:

[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