System.Drawing.Image
image,newimage;//定义两个Image对象
image=System.Drawing.Image.FromFile(filePath);//把filePath这个文件路径中读取到的资源(图片文件)付给image对象
System.Drawing.Image.GetThumbnaillmageAbort
callb=null;//应该是GetThumbnailImageAbort委托,GetThumbnailImage 方法应在何时提前取消执行。(单词打错的可能性比较大),这里设置为null,就没有取消该方法。
newimage=
image.GetThumbnaillmage(67,90,callb,new System.IntPtr());//返回缩略图详细说明见
Image.GetThumbnailImage
方法