insert_ole_object_frame method
Contents
[
Hide
]insert_ole_object_frame
Creates a new OLE object and inserts it to a collection at the specified index.
Returns
Created OLE object.
def insert_ole_object_frame(self, index, x, y, width, height, data_info):
...
Parameter | Type | Description |
---|---|---|
index | int | The zero-based index at which OLE object should be inserted. |
x | float | X coordinate of a new OLE frame. |
y | float | Y coordinate of a new OLE frame. |
width | float | Width of a new OLE frame. |
height | float | Height of a new OLE frame. |
data_info | IOleEmbeddedDataInfo | Embedded data info IOleEmbeddedDataInfo . |
insert_ole_object_frame
Creates a new OLE object and inserts it to a collection at the specified index.
Returns
Created OLE object.
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 OLE object should be inserted. |
x | float | X coordinate of a new OLE frame. |
y | float | Y coordinate of a new OLE frame. |
width | float | Width of a new OLE frame. |
height | float | Height of a new OLE frame. |
class_name | str | Name of an OLE class. |
path | str | Path to the linked file. |
See Also
- class
IOleEmbeddedDataInfo
- class
IOleObjectFrame
- class
IShapeCollection
- module
aspose.slides
- library
Aspose.Slides