InsertOleObjectFrame()

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

ParameterTypeDescription
indexint32_tThe zero-based index at which OLE object should be inserted.
xfloatX coordinate of a new OLE frame.
yfloatY coordinate of a new OLE frame.
widthfloatWidth of a new OLE frame.
heightfloatHeight of a new OLE frame.
dataInfoSystem::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

ParameterTypeDescription
indexint32_tThe zero-based index at which OLE object should be inserted.
xfloatX coordinate of a new OLE frame.
yfloatY coordinate of a new OLE frame.
widthfloatWidth of a new OLE frame.
heightfloatHeight of a new OLE frame.
classNameSystem::StringName of an OLE class.
pathSystem::StringPath to the linked file.

Return Value

Created OLE object.

See Also