Clear

ISummaryZoomSectionCollection.Clear method

Supprime tous les objets SummaryZoomSection de la collection.

public void Clear()

Exemples

L’exemple montre comment obtenir l’élément Summary Zoom Section par index :

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

Voir également