Graphics.CopyFromScreen
Contents
[
Hide
]CopyFromScreen(Point, Point, Size)
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
- struct Point
- struct Size
- class Graphics
- namespace Aspose.Drawing
- assembly Aspose.Drawing.Common
CopyFromScreen(int, int, int, int, Size, CopyPixelOperation)
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
- struct Size
- enum CopyPixelOperation
- class Graphics
- namespace Aspose.Drawing
- assembly Aspose.Drawing.Common
CopyFromScreen(Point, Point, Size, CopyPixelOperation)
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
- struct Point
- struct Size
- enum CopyPixelOperation
- class Graphics
- namespace Aspose.Drawing
- assembly Aspose.Drawing.Common