AxHost.GetIPictureFromPicture(Image) 方法

定義

傳回與指定的 Image 相對應之 OLE IPicture 物件 。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 IPicture 物件的 ObjectAn Object representing the OLE IPicture object.

適用於