Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
C#
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.

http://ctrlq.org/screenshots/ Example (https://twitter.com)

Javascript code that I need to do this, run the local side, such as.

How can I do this?
Posted
v3
Comments
Status BreakPoint 4-Aug-13 10:58am    
Found this solution. But I don't know detail.
http://html2canvas.hertzen.com/

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900