set_embedded_data method

set_embedded_data

Sets information about OLE embedded data.

def set_embedded_data(self, embedded_data):
    ...
ParameterTypeDescription
embedded_dataIOleEmbeddedDataInfoEmbedded data IOleEmbeddedDataInfo

Examples

Following example demonstrates how to change OLE embedded data and its type for existing IOleObjectFrame object

Remarks

This method changes the properties of the object to reflect the new data and sets the IsObjectLink flag to false, indicating that the OLE object is embedded.

Exceptions

ExceptionDescription
RuntimeError(Proxy error(ArgumentNullException))When embeddedData parameter is None.

See Also