AxHost.GetIPictureFromPicture(Image) 方法

定义

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

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

参数

image
Image

要转换的 Image

返回

表示 OLE IPicture 对象的 Object

适用于