共用方式為


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

適用於