AddSummaryZoomFrame

IShapeCollection.AddSummaryZoomFrame method

Adds a new Summary Zoom object to the end of a collection.

public ISummaryZoomFrame AddSummaryZoomFrame(float x, float y, float width, float height)
ParameterTypeDescription
xSingleX coordinate of a new Section Zoom frame Single.
ySingleY coordinate of a new Section Zoom frame Single.
widthSingleWidth of a new Section Zoom frame Single.
heightSingleHeight of a new Section Zoom frame Single.

Return Value

Created Summary Zoom object ISummaryZoomFrame.

Exceptions

exceptioncondition
PptxEditExceptionThere are no sections in the presentation, or 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