insert_ole_object_frame method
Contents
[
Hide
]insert_ole_object_frame
Creates a new OLE object frame and inserts it into the shape collection at the specified index.
Returns
The newly created IOleObjectFrame
.
def insert_ole_object_frame(self, index, x, y, width, height, data_info):
...
Parameter | Type | Description |
---|---|---|
index | int | The zero-based index at which to insert the OLE object frame. |
x | float | The x-coordinate of the new OLE frame, in points. |
y | float | The y-coordinate of the new OLE frame, in points. |
width | float | The width of the new OLE frame, in points. |
height | float | The height of the new OLE frame, in points. |
data_info | IOleEmbeddedDataInfo | The embedded OLE data information (IOleEmbeddedDataInfo ). |
insert_ole_object_frame
Creates a new OLE object frame and inserts it into the shape collection at the specified index.
Returns
The newly created IOleObjectFrame
.
def insert_ole_object_frame(self, index, x, y, width, height, class_name, path):
...
Parameter | Type | Description |
---|---|---|
index | int | The zero-based index at which to insert the OLE object frame. |
x | float | The x-coordinate of the new OLE frame, in points. |
y | float | The y-coordinate of the new OLE frame, in points. |
width | float | The width of the new OLE frame, in points. |
height | float | The height of the new OLE frame, in points. |
class_name | str | The class name of the OLE object. |
path | str | The path to the linked file. This path is stored verbatim in the presentation. If a relative path is specified, the file will be inaccessible when opening the presentation from a different directory. |
See Also
- class
IOleEmbeddedDataInfo
- class
IOleObjectFrame
- class
IShapeCollection
- module
aspose.slides
- library
Aspose.Slides