AxHost.GetIPictureFromPicture(Image) 方法

定义

返回与指定的 IPicture 对应的 OLE Image 对象。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);
static member GetIPictureFromPicture : System.Drawing.Image -> obj

参数

image
Image

要转换的 ImageThe Image to convert.

返回

表示 OLE Object 对象的 IPictureAn Object representing the OLE IPicture object.

适用于