AddSummaryZoomFrame
ShapeCollection.AddSummaryZoomFrame method
Creates a new Summary Zoom frame and adds it to the end of the shape collection.
public ISummaryZoomFrame AddSummaryZoomFrame(float x, float y, float width, float height)
Parameter | Type | Description |
---|---|---|
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 there are no sections in the presentation, or if the target slide does not belong to any section. |
Remarks
This method creates a new Summary Zoom and puts a collection of objects into it for all the sections in this presentation.
Examples
This example demonstrates adding a Summary Zoom object to the end 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.AddSummaryZoomFrame(150, 20, 500, 250);
}
See Also
- interface ISummaryZoomFrame
- class ShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides