AddOleObjectFrame()
Contents
[
Hide
]IShapeCollection::AddOleObjectFrame(float, float, float, float, System::SharedPtr<IOleEmbeddedDataInfo>) method
Creates a new OLE object frame and adds it to the end of the shape collection.
virtual System::SharedPtr<IOleObjectFrame> Aspose::Slides::IShapeCollection::AddOleObjectFrame(float x, float y, float width, float height, System::SharedPtr<IOleEmbeddedDataInfo> dataInfo)=0
Arguments
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. |
dataInfo | System::SharedPtr<IOleEmbeddedDataInfo> | The embedded OLE data information (IOleEmbeddedDataInfo). |
Return Value
The newly created IOleObjectFrame.
IShapeCollection::AddOleObjectFrame(float, float, float, float, System::String, System::String) method
Creates a new OLE object frame and adds it to the end of the shape collection.
virtual System::SharedPtr<IOleObjectFrame> Aspose::Slides::IShapeCollection::AddOleObjectFrame(float x, float y, float width, float height, System::String className, System::String path)=0
Arguments
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. |
className | System::String | The class name of the OLE object. |
path | System::String | The path to the linked file. |
Return Value
The newly created IOleObjectFrame.
Remarks
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
- Typedef SharedPtr
- Class IOleObjectFrame
- Class IOleEmbeddedDataInfo
- Class IShapeCollection
- Class String
- Namespace Aspose::Slides
- Library Aspose.Slides