ImageToIPicture


Converting an Image to an IPicture seems a recurring question. I did not tried the following code but it does compile.


sealed class ImageToIPicture : AxHost {


   private ImageToIPicture() : base(null) {


   }


   static public object Convert(Image image) {


      return AxHost.GetIPictureFromPicture(image);


   }


}

Comments (0)