add_ole_object_frame method

add_ole_object_frame

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

Returns

Created OLE object.

def add_ole_object_frame(self, x, y, width, height, data_info):
    ...
ParameterTypeDescription
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.

add_ole_object_frame

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

Returns

Created OLE object.

def add_ole_object_frame(self, x, y, width, height, class_name, path):
    ...
ParameterTypeDescription
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