int width, height; width = System.Windows.Forms.SystemInformation.PrimaryMonitorSize.Width; height = System.Windows.Forms.SystemInformation.PrimaryMonitorSize.Height; Bitmap MyBit; Rectangle screenRegion = Screen.AllScreens[0].Bounds; MyBit = new Bitmap(width, height, PixelFormat.Format32bppArgb); Graphics MyGraph = Graphics.FromImage(MyBit); MyGraph.CopyFromScreen(screenRegion.Left, screenRegion.Top, 0, 0, screenRegion.Size); sBit.Save(<>);
Wednesday, March 17, 2010
Print Screen using C#
-
The following article discusses the WPF command binding feature with relation to Mouse clicks. One of WPF powerful features is the bindin...
-
SQL Server has never been short of ways to read from and write to files and it is always better to use the standard techniques provided b...
-
In this article we will look at the basics of Angular.Js. This is the first part of an article series. The main objective of this series i...