InsertOleObjectFrame
Contents
[
Hide
]InsertOleObjectFrame(int, float, float, float, float, IOleEmbeddedDataInfo)
Creates a new OLE object and inserts it to a collection at the specified index.
public IOleObjectFrame InsertOleObjectFrame(int index, float x, float y, float width, float height,
IOleEmbeddedDataInfo dataInfo)
| Parameter | Type | Description |
|---|---|---|
| index | Int32 | The zero-based index at which OLE object should be inserted. |
| x | Single | X coordinate of a new OLE frame. |
| y | Single | Y coordinate of a new OLE frame. |
| width | Single | Width of a new OLE frame. |
| height | Single | Height of a new OLE frame. |
| dataInfo | IOleEmbeddedDataInfo | Embedded data info IOleEmbeddedDataInfo. |
Return Value
Created OLE object.
See Also
- interface IOleObjectFrame
- interface IOleEmbeddedDataInfo
- interface IShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
InsertOleObjectFrame(int, float, float, float, float, string, string)
Creates a new OLE object and inserts it to a collection at the specified index.
public IOleObjectFrame InsertOleObjectFrame(int index, float x, float y, float width, float height,
string className, string path)
| Parameter | Type | Description |
|---|---|---|
| index | Int32 | The zero-based index at which OLE object should be inserted. |
| x | Single | X coordinate of a new OLE frame. |
| y | Single | Y coordinate of a new OLE frame. |
| width | Single | Width of a new OLE frame. |
| height | Single | Height of a new OLE frame. |
| className | String | Name of an OLE class. |
| path | String | Path to the linked file. |
Return Value
Created OLE object.
See Also
- interface IOleObjectFrame
- interface IShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides