GetSummarySection

SummaryZoomSectionCollection.GetSummarySection method

Renvoie l’élément Summary Zoom Section pour la section donnée.

public ISummaryZoomSection GetSummarySection(ISection section)
ParamètreTaperLa description
sectionISectionRubrique à trouverISection

Return_Value

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

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;
    ISummaryZoomSection selectedObject = collection.GetSummarySection(pres.Sections[2]);
}

Voir également