共用方式為


AxHost.GetIPictureFromPicture(Image) 方法

定義

傳回與指定的 Image 相對應之 OLE IPicture 物件 。

protected:
 static System::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

傳回

Object

表示 OLE IPicture 物件的 Object

適用於