Getting The Image Thumbnail

1:30 AM
 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;
      }

0 comments:

Post a Comment