AxHost::GetPictureFromIPicture Method (Object^)
.NET Framework (current version)
Returns an Image corresponding to the specified OLE IPicture object.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- picture
-
Type:
System::Object^
The IPicture to convert.
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 GetPictureFromIPictureDisp does not work correctly at this time.
.NET Framework
Available since 1.1
Available since 1.1
Show: