add_section_zoom_frame method
Contents
[
Hide
]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):
...
| Parameter | Type | Description |
|---|---|---|
| x | float | The x-coordinate of the new Section Zoom frame, in points. |
| y | float | The y-coordinate of the new Section Zoom frame, in points. |
| width | float | The width of the new Section Zoom frame, in points. |
| height | float | The height of the new Section Zoom frame, in points. |
| section | ISection | The 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
| Exception | Description |
|---|---|
| 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):
...
| Parameter | Type | Description |
|---|---|---|
| x | float | The x-coordinate of the new Section Zoom frame, in points. |
| y | float | The y-coordinate of the new Section Zoom frame, in points. |
| width | float | The width of the new Section Zoom frame, in points. |
| height | float | The height of the new Section Zoom frame, in points. |
| section | ISection | The ISection referenced by the Section Zoom frame;must belong to this presentation and contain at least one slide. |
| image | IPPImage | The 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
| Exception | Description |
|---|---|
| RuntimeError(Proxy error(ArgumentException)) | Thrown if the referenced section does not belong to the current presentation or contains no slides. |
See Also
- class
IPPImage - class
ISection - class
ISectionZoomFrame - class
ShapeCollection - module
aspose.slides - library
Aspose.Slides