InsertSummaryZoomFrame()

IShapeCollection::InsertSummaryZoomFrame(int32_t, float, float, float, float) method

Creates a new Summary Zoom frame and inserts it into the shape collection at the specified index.

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

Arguments

ParameterTypeDescription
indexint32_tThe zero-based index at which to insert the Summary Zoom frame.
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 creation and inserting a Summary Zoom object at the specified index 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->InsertSummaryZoomFrame(2, 150.0f, 20.0f, 50.0f, 50.0f)

See Also