Bitmap memoryImage = new Bitmap( width, height, PixelFormat.Format32bppArgb); using ( Graphics memoryGrahics = Graphics.FromImage( memoryImage ) ) { memoryGrahics.CopyFromScreen( rc.X, rc.Y, 0, 0, rc.Size, CopyPixelOperation.SourceCopy ); }