c# web屏幕截图 我要做一个在线客服系统 web版的。想实现客户端可以截图发送给服务器端。找来找去都是java的 我不懂java 有没有c#的?要webform 不要winform的。谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Rectangle R = System.Windows.Forms.Screen.PrimaryScreen.Bounds; Image img = new Bitmap(R.Width, R.Height); Graphics G = Graphics.FromImage(img); G.CopyFromScreen(new Point(0, 0), new Point(0, 0), new Size(R.Width, R.Height));。 IntPtr dc = G.GetHdc(); G.ReleaseHdc(dc); G.Dispose(); img .Save("c:\\a.jpg"); 或 private static extern bool BitBlt(IntPtr hdcDest,int nXDest,int nYDest,int nWidth,int nHeight,IntPtr hdcSrc,int nXSrc,int nYSrc,Int32 dwrop); http://topic.csdn.net/u/20090702/11/845f5ac5-48f2-463a-8271-47c5eeb33cab.html 简单的截全屏的代码 我有了 要我的是客户端任意截一部分屏幕的截图 然后发送给服务器端的。 找了两天 没找到 都说要用active 但是网上没有相关的active介绍 :( 这个只能用ActiveX...基本和WinForm一样... 如果你要截的图只在浏览器页面内Flash和Silverlight都能做,不需要ActiveX... 没有做过webfrom的只做过winfrom的 updata语句问题,100分献上,大侠请进,实在看不出错在那里,在线等 大家讨论一下panel控件在实际中的作用 小白代码问题 在线急等!~~~~~~~~~~~~~ 100%结贴 今天忧闷无比,发一问贴,望各位版友支持下 怎样用程序自动解压用winrar压缩的文件 我用的Visual Studio.Net编译器的问题? 关于两个窗体间的问题?谢谢! C# 数据转化问题 帮帮忙~~一个关于DATASET和XML的问题~谢谢~~~~~ 编码转换的问题(Unicode, ASCII)? 请教一个统计文件夹大小问题 如何对ArrayList排序?单独的INT,请进
Image img = new Bitmap(R.Width, R.Height);
Graphics G = Graphics.FromImage(img);
G.CopyFromScreen(new Point(0, 0), new Point(0, 0), new Size(R.Width, R.Height));。
IntPtr dc = G.GetHdc();
G.ReleaseHdc(dc);
G.Dispose();
img .Save("c:\\a.jpg");
或
private static extern bool BitBlt(IntPtr hdcDest,int nXDest,int nYDest,int nWidth,int nHeight,IntPtr hdcSrc,int nXSrc,int nYSrc,Int32 dwrop);
http://topic.csdn.net/u/20090702/11/845f5ac5-48f2-463a-8271-47c5eeb33cab.html