IShapeCollectionAddOleObjectFrame Method (Single, Single, Single, Single, String, String)

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

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 22.4.0.0 (22.4)
Syntax
IOleObjectFrame AddOleObjectFrame(
	float x,
	float y,
	float width,
	float height,
	string className,
	string path
)

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.
className
Type: SystemString
Name of an OLE class.
path
Type: SystemString
path to the linked file.

Return Value

Type: IOleObjectFrame
Created OLE object.
See Also