RemoveSummaryZoomSection

SummaryZoomSectionCollection.RemoveSummaryZoomSection method

Entfernen Sie das Summary Zoom Section-Objekt aus der Sammlung.

public void RemoveSummaryZoomSection(ISection section)
ParameterTypBeschreibung
sectionISectionAbschnitt, für den das Element Summary Zoom Section entfernt werden soll ISection.

Beispiele

Das Beispiel zeigt, wie man das Summary Zoom Section-Element nach Index erhält:

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

Siehe auch