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)
ParameterTypeDescription
xSingleThe x-coordinate of the new Summary Zoom frame, in points.
ySingleThe y-coordinate of the new Summary Zoom frame, in points.
widthSingleThe width of the new Summary Zoom frame, in points.
heightSingleThe height of the new Summary Zoom frame, in points.

Return Value

The newly created ISummaryZoomFrame.

Exceptions

exceptioncondition
PptxEditExceptionThrown 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