add_ole_object_frame method
Contents
[
Hide
]add_ole_object_frame
Creates a new OLE object frame and adds it to the end of the shape collection.
Returns
The newly created IOleObjectFrame
.
def add_ole_object_frame(self, x, y, width, height, data_info):
...
Parameter | Type | Description |
---|---|---|
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 ). |
add_ole_object_frame
Creates a new OLE object frame and adds it to the end of the shape collection.
Returns
The newly created IOleObjectFrame
.
def add_ole_object_frame(self, x, y, width, height, class_name, path):
...
Parameter | Type | Description |
---|---|---|
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