insert_ole_object_frame method

insert_ole_object_frame

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

Returns

Created OLE object.

def insert_ole_object_frame(self, index, x, y, width, height, data_info):
    ...
ParameterTypeDescription
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.
data_infoIOleEmbeddedDataInfoEmbedded data info IOleEmbeddedDataInfo.

insert_ole_object_frame

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

Returns

Created OLE object.

def insert_ole_object_frame(self, index, x, y, width, height, class_name, path):
    ...
ParameterTypeDescription
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.
class_namestrName of an OLE class.
pathstrPath to the linked file.

See Also