insert_video_frame method
insert_video_frame
Creates a new video frame and inserts it into the shape collection at the specified index.
Returns
The newly created IVideoFrame.
def insert_video_frame(self, index, x, y, width, height, fname):
...
| Parameter | Type | Description |
|---|---|---|
| index | int | The zero-based index at which to insert the video frame. |
| x | float | The x-coordinate of the new video frame, in points. |
| y | float | The y-coordinate of the new video frame, in points. |
| width | float | The width of the new video frame, in points. |
| height | float | The height of the new video frame, in points. |
| fname | str | The path or name of the video file to embed. |
See Also
- class
IShapeCollection - class
IVideoFrame - module
aspose.slides - library
Aspose.Slides