InsertOleObjectFrame()
Contents
[
Hide
]IShapeCollection::InsertOleObjectFrame(int32_t, float, float, float, float, System::SharedPtr<IOleEmbeddedDataInfo>) method
Creates a new OLE object and inserts it to a collection at the specified index.
virtual System::SharedPtr<IOleObjectFrame> Aspose::Slides::IShapeCollection::InsertOleObjectFrame(int32_t index, float x, float y, float width, float height, System::SharedPtr<IOleEmbeddedDataInfo> dataInfo)=0
Arguments
Parameter | Type | Description |
---|---|---|
index | int32_t | 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. |
dataInfo | System::SharedPtr<IOleEmbeddedDataInfo> | Embedded data info IOleEmbeddedDataInfo. |
Return Value
Created OLE object.
IShapeCollection::InsertOleObjectFrame(int32_t, float, float, float, float, System::String, System::String) method
Creates a new OLE object and inserts it to a collection at the specified index.
virtual System::SharedPtr<IOleObjectFrame> Aspose::Slides::IShapeCollection::InsertOleObjectFrame(int32_t index, float x, float y, float width, float height, System::String className, System::String path)=0
Arguments
Parameter | Type | Description |
---|---|---|
index | int32_t | 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. |
className | System::String | Name of an OLE class. |
path | System::String | Path to the linked file. |
Return Value
Created OLE object.
See Also
- Typedef SharedPtr
- Class IOleObjectFrame
- Class IOleEmbeddedDataInfo
- Class IShapeCollection
- Class String
- Namespace Aspose::Slides
- Library Aspose.Slides