InsertSummaryZoomFrame
ShapeCollection.InsertSummaryZoomFrame method
Creates a new Summary Zoom frame and inserts it into the shape collection at the specified index.
public ISummaryZoomFrame InsertSummaryZoomFrame(int index, float x, float y, float width,
float height)
Parameter | Type | Description |
---|---|---|
index | Int32 | The zero-based index at which to insert the Summary Zoom frame. |
x | Single | The x-coordinate of the new Summary Zoom frame, in points. |
y | Single | The y-coordinate of the new Summary Zoom frame, in points. |
width | Single | The width of the new Summary Zoom frame, in points. |
height | Single | The height of the new Summary Zoom frame, in points. |
Return Value
The newly created ISummaryZoomFrame
.
Exceptions
exception | condition |
---|---|
PptxEditException | Thrown if the presentation contains no sections, or if the target slide does not belong to any section. |
Remarks
This method creates a Summary Zoom frame that aggregates summary links for all sections in the presentation.
Examples
This example demonstrates creation and inserting a Summary Zoom object at the specified index of a collection (assume that there are at least two sections in the “Presentation.pptx” presentation):
[C#]
using (Presentation pres = new Presentation("Presentation.pptx"))
{
ISummaryZoomFrame zoomFrame = pres.Slides[0].Shapes.InsertSummaryZoomFrame(2, 150, 20, 50, 50);
}
See Also
- interface ISummaryZoomFrame
- class ShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides