CopyFromScreen

Graphics.CopyFromScreen method (1 of 3)

Performs a bit-block transfer of color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the Graphics.

public void CopyFromScreen(Point upperLeftSource, Point upperLeftDestination, Size blockRegionSize)
Parameter Type Description
upperLeftSource Point The point at the upper-left corner of the source rectangle.
upperLeftDestination Point The point at the upper-left corner of the destination rectangle.
blockRegionSize Size The size of the area to be transferred.

See Also


Graphics.CopyFromScreen method (2 of 3)

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.

public void CopyFromScreen(int sourceX, int sourceY, int destinationX, int destinationY, 
    Size blockRegionSize, CopyPixelOperation copyPixelOperation)
Parameter Type Description
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.

See Also


Graphics.CopyFromScreen method (3 of 3)

Performs a bit-block transfer of color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the Graphics.

public void CopyFromScreen(Point upperLeftSource, Point upperLeftDestination, Size blockRegionSize, 
    CopyPixelOperation copyPixelOperation)
Parameter Type Description
upperLeftSource Point The point at the upper-left corner of the source rectangle.
upperLeftDestination Point The point at the upper-left corner of the destination rectangle.
blockRegionSize Size The size of the area to be transferred..
copyPixelOperation CopyPixelOperation ne of the CopyPixelOperation values.

See Also