IShapeCollectionAddOleObjectFrame Method (Single, Single, Single, Single, IOleEmbeddedDataInfo)

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

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.11.0.0 (21.11)
Syntax
IOleObjectFrame AddOleObjectFrame(
	float x,
	float y,
	float width,
	float height,
	IOleEmbeddedDataInfo dataInfo
)

Parameters

x
Type: SystemSingle
X coordinate of a new OLE frame.
y
Type: SystemSingle
Y coordinate of a new OLE frame.
width
Type: SystemSingle
Width of a new OLE frame.
height
Type: SystemSingle
Height of a new OLE frame.
dataInfo
Type: Aspose.SlidesIOleEmbeddedDataInfo
Embedded data info IOleEmbeddedDataInfo.

Return Value

Type: IOleObjectFrame
Created OLE object.
See Also