insertOleObjectFrame

insertOleObjectFrame(int index, float x, float y, float width, float height, OleEmbeddedDataInfo dataInfo) function

Creates a new OLE object and inserts it to a collection at the specified index.

Parameters

NameTypeDescription
indexintThe zero-based index at which OLE object should be inserted.
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.

Result

OleObjectFrame


insertOleObjectFrame(int index, float x, float y, float width, float height, String className, String path) function

Creates a new OLE object and inserts it to a collection at the specified index.

Parameters

NameTypeDescription
indexintThe zero-based index at which OLE object should be inserted.
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.

Result

OleObjectFrame