Clear

ISummaryZoomSectionCollection.Clear method

Elimina todos los objetos SummaryZoomSection de la colección.

public void Clear()

Ejemplos

El ejemplo demuestra cómo obtener el elemento Sección de zoom de resumen por índice:

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

Ver también