Performs a bit-block transfer of the color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the Graphics.
- g (Graphics)
[Missing <param name="g"/> documentation for "M:InTheHand.Drawing.GraphicsHelper.CopyFromScreen(System.Drawing.Graphics,System.Int32,System.Int32,System.Int32,System.Int32,System.Drawing.Size,InTheHand.Drawing.CopyPixelOperation)"]
- sourceX (Int32)
- The x-coordinate of the point at the upper-left corner of the source rectangle.
- sourceY (Int32)
- The y-coordinate of the point at the upper-left corner of the source rectangle
- destinationX (Int32)
- The x-coordinate of the point at the upper-left corner of the destination rectangle.
- destinationY (Int32)
- The y-coordinate of the point at the upper-left corner of the destination rectangle.
- blockRegionSize (Size)
- The size of the area to be transferred.
- copyPixelOperation (CopyPixelOperation)
- One of the CopyPixelOperation values.
The CopyFromScreen methods are useful for layering one image on top of another.
The copyPixelOperation parameter allows you to specify if and how the source colors should be blended with the colors in the destination area.