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)
SyntaxIOleObjectFrame AddOleObjectFrame(
float x,
float y,
float width,
float height,
string className,
string path
)
Function AddOleObjectFrame (
x As Single,
y As Single,
width As Single,
height As Single,
className As String,
path As String
) As IOleObjectFrame
IOleObjectFrame^ AddOleObjectFrame(
float x,
float y,
float width,
float height,
String^ className,
String^ path
)
abstract AddOleObjectFrame :
x : float32 *
y : float32 *
width : float32 *
height : float32 *
className : string *
path : string -> IOleObjectFrame
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:
IOleObjectFrameCreated OLE object.
See Also