AxHost.GetIPictureDispFromPicture Method (Image)

 

Returns an OLE IPictureDisp object corresponding to the specified Image.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected static object GetIPictureDispFromPicture(
	Image image
)

Parameters

image
Type: System.Drawing.Image

The Image to convert.

Return Value

Type: System.Object

An Object representing the OLE IPictureDisp object.

.NET Framework
Available since 1.1
Return to top
Show: