AxHost.GetIPictureDispFromPicture(Image) 方法

定义

返回与指定的 Image 对应的 OLE IPictureDisp 对象。

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

参数

image
Image

要转换的 Image

返回

表示 OLE IPictureDisp 对象的 Object

适用于