Item

ISummaryZoomSectionCollection indexer

Obtient l’élément à l’index spécifié. Lecture seule ISummaryZoomSection.

public ISummaryZoomSection this[int index] { get; }  

Exemples

L’exemple démontre l’obtention d’un élément de la section de zoom récapitulatif par index :

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

Voir aussi