In The Hand LtdIn The Hand
CopyFromScreen Method (g, sourceX, sourceY, destinationX, destinationY, blockRegionSize, copyPixelOperation)
NamespacesInTheHand.DrawingGraphicsHelperCopyFromScreen(Graphics, Int32, Int32, Int32, Int32, Size, CopyPixelOperation)
.NET Components for Mobility
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.
Declaration Syntax
C#Visual Basic
public static void CopyFromScreen(
	Graphics g,
	int sourceX,
	int sourceY,
	int destinationX,
	int destinationY,
	Size blockRegionSize,
	CopyPixelOperation copyPixelOperation
)
Public Shared Sub CopyFromScreen ( _
	g As Graphics, _
	sourceX As Integer, _
	sourceY As Integer, _
	destinationX As Integer, _
	destinationY As Integer, _
	blockRegionSize As Size, _
	copyPixelOperation As CopyPixelOperation _
)
Parameters
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.
Remarks
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.

Assembly: InTheHand.Drawing (Module: InTheHand.Drawing) Version: 7.0.0.0