AxHost.GetIPictureDispFromPicture(Image) 方法

定義

傳回與指定的 Image 相對應之 OLE IPictureDisp 物件 。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);
static member GetIPictureDispFromPicture : System.Drawing.Image -> obj

參數

image
Image

要進行轉換的 ImageThe Image to convert.

傳回

表示 OLE IPictureDisp 物件的 ObjectAn Object representing the OLE IPictureDisp object.

適用於