AddSummaryZoomSection
SummaryZoomSectionCollection.AddSummaryZoomSection method
Creates new Summary Zoom Section object and add it to the collection
public ISummaryZoomSection AddSummaryZoomSection(ISection section)
Parameter | Type | Description |
---|---|---|
section | ISection | Section for a new Summary Zoom Section element ISection |
Return Value
Added ISummaryZoomFrame
element
Exceptions
exception | condition |
---|---|
ArgumentException | Referenced section does not belong to the current presentation or does not contains any slides. |
Remarks
If an element for this section already exists in the collection, the existing element is returned.
Examples
The example demonstrates getting Summary Zoom Section element by 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]);
}
See Also
- interface ISummaryZoomSection
- interface ISection
- class SummaryZoomSectionCollection
- namespace Aspose.Slides
- assembly Aspose.Slides