AddSummaryZoomSection
ISummaryZoomSectionCollection.AddSummaryZoomSection méthode
Crée un nouvel objet Summary Zoom Section et l’ajoute à la collection
public ISummaryZoomSection AddSummaryZoomSection(ISection section)
Paramètre | Type | Description |
---|---|---|
section | ISection | Section pour un nouvel élément Summary Zoom Section ISection |
Valeur de retour
Élément ajouté ISummaryZoomFrame
Remarques
Si un élément pour cette section existe déjà dans la collection, l’élément existant est retourné.
Exemples
L’exemple démontre comment obtenir un é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 newZoomSection = collection.AddSummaryZoomSection(pres.Sections[3]);
}
Voir aussi
- interface ISummaryZoomSection
- interface ISection
- interface ISummaryZoomSectionCollection
- namespace Aspose.Slides
- assembly Aspose.Slides