AddSummaryZoomFrame()

IShapeCollection::AddSummaryZoomFrame(float, float, float, float) method

Creates a new Summary Zoom frame and adds it to the end of the shape collection.

virtual System::SharedPtr<ISummaryZoomFrame> Aspose::Slides::IShapeCollection::AddSummaryZoomFrame(float x, float y, float width, float height)=0

Arguments

ParameterTypeDescription
xfloatThe x-coordinate of the new Summary Zoom frame, in points.
yfloatThe y-coordinate of the new Summary Zoom frame, in points.
widthfloatThe width of the new Summary Zoom frame, in points.
heightfloatThe height of the new Summary Zoom frame, in points.

Return Value

The newly created ISummaryZoomFrame.

Remarks

This method creates a Summary Zoom frame that aggregates summary links for all sections in the presentation.

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):

auto pres = System::MakeObject<Presentation>(u"Presentation.pptx");
auto shapes = pres->get_Slides()->idx_get(0)->get_Shapes();

auto zoomFrame = shapes->AddSummaryZoomFrame(150.0f, 20.0f, 500.0f, 250.0f);

See Also