AddOleObjectFrame
Contents
[
Hide
]AddOleObjectFrame(float, float, float, float, IOleEmbeddedDataInfo)
Creates a new OLE object frame and adds it to the end of the shape collection.
public IOleObjectFrame AddOleObjectFrame(float x, float y, float width, float height,
IOleEmbeddedDataInfo dataInfo)
| Parameter | Type | Description |
|---|---|---|
| x | Single | The x-coordinate of the new OLE frame, in points. |
| y | Single | The y-coordinate of the new OLE frame, in points. |
| width | Single | The width of the new OLE frame, in points. |
| height | Single | The height of the new OLE frame, in points. |
| dataInfo | IOleEmbeddedDataInfo | The embedded OLE data information (IOleEmbeddedDataInfo). |
Return Value
The newly created IOleObjectFrame.
See Also
- interface IOleObjectFrame
- interface IOleEmbeddedDataInfo
- interface IShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
AddOleObjectFrame(float, float, float, float, string, string)
Creates a new OLE object frame and adds it to the end of the shape collection.
public IOleObjectFrame AddOleObjectFrame(float x, float y, float width, float height,
string className, string path)
| Parameter | Type | Description |
|---|---|---|
| x | Single | The x-coordinate of the new OLE frame, in points. |
| y | Single | The y-coordinate of the new OLE frame, in points. |
| width | Single | The width of the new OLE frame, in points. |
| height | Single | The height of the new OLE frame, in points. |
| className | String | The class name of the OLE object. |
| path | String | The path to the linked file. |
Return Value
The newly created IOleObjectFrame.
See Also
- interface IOleObjectFrame
- interface IShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides