AddSummaryZoomFrame()

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

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

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

Arguments

ParameterTypeDescription
xfloatX coordinate of a new Section Zoom frame float.
yfloatY coordinate of a new Section Zoom frame float.
widthfloatWidth of a new Section Zoom frame float.
heightfloatHeight of a new Section Zoom frame float.

Return Value

Created Summary Zoom object 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