Edit

Share via


AxHost.GetIPictureDispFromPicture(Image) Method

Definition

Returns an OLE IPictureDisp object corresponding to the specified Image.

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

Parameters

image
Image

The Image to convert.

Returns

An Object representing the OLE IPictureDisp object.

Applies to