Returns an System.Drawing.Image corresponding to the specified OLE IPicture object.
![]()
An System.Drawing.Image representing the IPicture.
You can use this method to convert IPictureDisp objects in addition to IPicture objects. This works because the IPictureDisp OLE interface is a subset of the IPicture interface. Converting IPictureDisp objects with this method is necessary because the AxHost.GetPictureFromIPictureDisp(object) does not work correctly at this time.