GetSummarySection

ISummaryZoomSectionCollection.GetSummarySection méthode

Renvoie l’élément de section de zoom résumé pour la section donnée.

public ISummaryZoomSection GetSummarySection(ISection section)
ParamètreTypeDescription
sectionISectionSection à trouver ISection

Valeur de retour

ISummaryZoomSection ou null si la collection ne contient pas d’élément pour la section.

Exemples

L’exemple démontre comment obtenir l’élément de section de zoom résumé par index :

[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]);
}

Voir aussi