addOleObjectFrame

addOleObjectFrame(float x, float y, float width, float height, OleEmbeddedDataInfo dataInfo) method

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

Parameters

NameTypeDescription
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.
dataInfoOleEmbeddedDataInfoEmbedded data info IOleEmbeddedDataInfo.

Returns

OleObjectFrame


addOleObjectFrame(float x, float y, float width, float height, String className, String path) method

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

Parameters

NameTypeDescription
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.
classNameStringName of an OLE class.
pathStringPath to the linked file.The path is stored in the presentation as is. If a relative path is specified the corresponding file will be inaccessible when opening the presentation from a different directory.

Returns

OleObjectFrame