摘要: usingSystem.Drawing;publicstaticImageGenerateThumbImage(ImageoriginalImage,intlimitedSize){if(limitedSize 20){thrownewInvalidObjectException("limitedSize");}intheight = originalImage.Height;intwidth = originalImage.Width;if(height limitedSize || width limitedSize){intnewHeight, newWidth;if(hei 阅读全文
posted @ 2011-01-15 17:59 duanyong 阅读(862) 评论(0) 推荐(0) 编辑