insert_zoom_frame method

insert_zoom_frame

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

Returns

The newly created IZoomFrame.

def insert_zoom_frame(self, index, x, y, width, height, slide):
    ...
ParameterTypeDescription
indexintThe zero-based index at which to insert the Zoom frame.
xfloatThe x-coordinate of the new Zoom frame, in points.
yfloatThe y-coordinate of the new Zoom frame, in points.
widthfloatThe width of the new Zoom frame, in points.
heightfloatThe height of the new Zoom frame, in points.
slideISlideThe ISlide referenced by the Zoom frame.

Exceptions

ExceptionDescription
RuntimeError(Proxy error(ArgumentException))Thrown if the referenced slide does not belong to the current presentation.

insert_zoom_frame

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

Returns

The newly created IZoomFrame.

def insert_zoom_frame(self, index, x, y, width, height, slide, image):
    ...
ParameterTypeDescription
indexintThe zero-based index at which to insert the Zoom frame.
xfloatThe x-coordinate of the new Zoom frame, in points.
yfloatThe y-coordinate of the new Zoom frame, in points.
widthfloatThe width of the new Zoom frame, in points.
heightfloatThe height of the new Zoom frame, in points.
slideISlideThe ISlide referenced by the Zoom frame.
imageIPPImageThe image for the referenced slide IPPImage.

Exceptions

ExceptionDescription
RuntimeError(Proxy error(ArgumentException))Thrown if the referenced slide does not belong to the current presentation.

See Also