AxHost.GetIPictureFromPicture(Image) Method

Definition

Returns an OLE IPicture object corresponding to the specified Image.

protected:
 static System::Object ^ GetIPictureFromPicture(System::Drawing::Image ^ image);
protected static object GetIPictureFromPicture (System.Drawing.Image image);
protected static object? GetIPictureFromPicture (System.Drawing.Image? image);
static member GetIPictureFromPicture : System.Drawing.Image -> obj
Protected Shared Function GetIPictureFromPicture (image As Image) As Object

Parameters

image
Image

The Image to convert.

Returns

An Object representing the OLE IPicture object.

Applies to