axcontrol.OleLoadPicturePath

PyIUnknown = OleLoadPicturePath(url_or_path, unk , reserved , clr , , )

Creates a new picture object and initializes it from the contents of a stream.

Parameters

url_or_path : string/unicode

The path or url to the file you want to open.

unk : PyIUknown

The IUnknown for COM aggregation.

reserved : int

reserved

clr : int

The color you want to reserve to be transparent.

=iid : PyIID

The identifier of the interface describing the type of interface pointer to return

=iidRet : PyIID

The IID to use for the return object - use only if pythoncom does not support the native interface requested.