I'm working on Map. I want to save the screen image at the locally and server . The following codes are working locally. However, the server side fails to reach the screen image.
"Bitmap Screenshot = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
Graphics GFX = Graphics.FromImage(Screenshot);
GFX.CopyFromScreen(Screen.PrimaryScreen.Bounds.X, Screen.PrimaryScreen.Bounds.Y, 0, 0, Screen.PrimaryScreen.Bounds.Size);
string Path = "/uploaded/goruntu.jpg";
Screenshot.Save(Path, ImageFormat.Jpeg);"
I want to take a picture, such as the following link from.
Javascript code that I need to do this, run the local side, such as.
How can I do this?
Iftikar HussainPosted Aug 3, 2013, 12:33 PM
Please refer this link
http://www.codeproject.com/Articles/95439/Get-ASP-NET-C-2-0-Website-Thumbnail-Screenshot
Regards,
Iftikar