Bitmap bmp = WebsiteThumbnailImageGenerator.GetWebSiteThumbnail("http://" + txtadd.Text,800, 600, Int32.Parse(txtWidth.Text), Int32.Parse(txtHeight.Text)); bmp.Save(Server.MapPath("~") + "/thumbImage.bmp"); |
Here txtadd.Text,txtWidth.Text and txtHeight.Text values comes from aspx file
No comments:
Post a Comment