AddOleObjectFrame()

IShapeCollection::AddOleObjectFrame(float, float, float, float, System::SharedPtr<IOleEmbeddedDataInfo>) method

Adds a new OLE object to the end of a collection.

virtual System::SharedPtr<IOleObjectFrame> Aspose::Slides::IShapeCollection::AddOleObjectFrame(float x, float y, float width, float height, System::SharedPtr<IOleEmbeddedDataInfo> dataInfo)=0

Arguments

ParameterTypeDescription
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::AddOleObjectFrame(float, float, float, float, System::String, System::String) method

Adds a new OLE object to the end of a 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

ParameterTypeDescription
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