add_section_zoom_frame method

add_section_zoom_frame

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

Returns

The newly created ISectionZoomFrame.

def add_section_zoom_frame(self, x, y, width, height, section):
    ...
ParameterTypeDescription
xfloatThe x-coordinate of the new Section Zoom frame, in points.
yfloatThe y-coordinate of the new Section Zoom frame, in points.
widthfloatThe width of the new Section Zoom frame, in points.
heightfloatThe height of the new Section Zoom frame, in points.
sectionISectionThe ISection referenced by the Section Zoom frame;

must belong to this presentation and contain at least one slide.

Examples

This example demonstrates adding a Section Zoom object to the end of a collection (assume that there are at least two sections in the “Presentation.pptx” presentation):

Exceptions

ExceptionDescription
RuntimeError(Proxy error(ArgumentException))Thrown if the referenced section does not belong to the current presentation or contains no slides.

add_section_zoom_frame

Creates a new Section Zoom frame with a predefined image and adds it to the end of the shape collection.

Returns

The newly created ISectionZoomFrame.

def add_section_zoom_frame(self, x, y, width, height, section, image):
    ...
ParameterTypeDescription
xfloatThe x-coordinate of the new Section Zoom frame, in points.
yfloatThe y-coordinate of the new Section Zoom frame, in points.
widthfloatThe width of the new Section Zoom frame, in points.
heightfloatThe height of the new Section Zoom frame, in points.
sectionISectionThe ISection referenced by the Section Zoom frame;

must belong to this presentation and contain at least one slide.
imageIPPImageThe IPPImage to display within the Section Zoom frame.

Examples

This example demonstrates adding a Section Zoom object to the end of a collection (assume that there are at least two sections in the “Presentation.pptx” presentation):

Exceptions

ExceptionDescription
RuntimeError(Proxy error(ArgumentException))Thrown if the referenced section does not belong to the current presentation or contains no slides.

See Also