Getting The Image Thumbnail

 public static Image GetImageThumbNail(Image img,int mWidth,int mHeight)
      {
          Image.GetThumbnailImageAbort myCallback = new Image.GetThumbnailImageAbort(ThumbnailCallback);
          img = img.GetThumbnailImage(mWidth , mHeight , myCallback, IntPtr.Zero);
          return img;
      }
      private  static  bool ThumbnailCallback()
      {
          return false;
      }
posted @ 2012-04-01 14:39  sandeepparekh9  阅读(152)  评论(0)    收藏  举报