AddSummaryZoomFrame()

ShapeCollection::AddSummaryZoomFrame(float, float, float, float) method

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

System::SharedPtr<ISummaryZoomFrame> Aspose::Slides::ShapeCollection::AddSummaryZoomFrame(float x, float y, float width, float height) override

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 new Summary Zoom and puts a collection of objects into it for all the sections in this 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