axcontrol.OleLoadPicture

PyIUnknown = OleLoadPicture(stream, size , runMode , , )

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

Parameters

stream : PyIStream

The stream that contains picture's data.

size : int

Number of bytes read from the stream

runMode : int

The opposite of the initial value of the KeepOriginalFormat property. If TRUE, KeepOriginalFormat is set to FALSE and vice-versa.

=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.