add_zoom_frame method
Contents
[
Hide
]add_zoom_frame
Creates a new Zoom frame and adds it to the end of the shape collection.
Returns
The newly created IZoomFrame
.
def add_zoom_frame(self, x, y, width, height, slide):
...
Parameter | Type | Description |
---|---|---|
x | float | The x-coordinate of the new Zoom frame, in points. |
y | float | The y-coordinate of the new Zoom frame, in points. |
width | float | The width of the new Zoom frame, in points. |
height | float | The height of the new Zoom frame, in points. |
slide | ISlide | The ISlide referenced by the Zoom frame;must belong to this presentation. |
Examples
This example demonstrates adding a Zoom object to the end of a collection (assume that there are at least two slides in the “Presentation.pptx” presentation):
Exceptions
Exception | Description |
---|---|
RuntimeError(Proxy error(ArgumentException)) | Thrown if the referenced slide does not belong to the current presentation. |
add_zoom_frame
Creates a new Zoom frame and adds it to the end of the shape collection.
Returns
The newly created IZoomFrame
.
def add_zoom_frame(self, x, y, width, height, slide, image):
...
Parameter | Type | Description |
---|---|---|
x | float | The x-coordinate of the new Zoom frame, in points. |
y | float | The y-coordinate of the new Zoom frame, in points. |
width | float | The width of the new Zoom frame, in points. |
height | float | The height of the new Zoom frame, in points. |
slide | ISlide | The ISlide referenced by the Zoom frame;must belong to this presentation. |
image | IPPImage | The image for the referenced slide IPPImage . |
Examples
This example demonstrates adding a Zoom object to the end of a collection (assume that there are at least two slides in the “Presentation.pptx” presentation):
Exceptions
Exception | Description |
---|---|
RuntimeError(Proxy error(ArgumentException)) | Thrown if the referenced slide does not belong to the current presentation. |
See Also
- class
IPPImage
- class
IShapeCollection
- class
ISlide
- class
IZoomFrame
- module
aspose.slides
- library
Aspose.Slides