## CopyFromScreen(Point, Point, Size) {#copyfromscreen_1}

执行颜色数据的位块传输，对应于像素的矩形，从屏幕到绘图表面Graphics.

```csharp
public void CopyFromScreen(Point upperLeftSource, Point upperLeftDestination, Size blockRegionSize)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| upperLeftSource | Point | 源矩形左上角的点。 |
| upperLeftDestination | Point | 目标矩形左上角的点。 |
| blockRegionSize | Size | 要传输的区域的大小。 |

### 也可以看看

* struct [Point](../../point)
* struct [Size](../../size)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

## CopyFromScreen(int, int, int, int, Size, CopyPixelOperation) {#copyfromscreen}

执行颜色数据的位块传输，对应于像素的矩形，从屏幕到绘图表面Graphics.

```csharp
public void CopyFromScreen(int sourceX, int sourceY, int destinationX, int destinationY, 
    Size blockRegionSize, CopyPixelOperation copyPixelOperation)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| sourceX | Int32 | 源矩形左上角点的 x 坐标。 |
| sourceY | Int32 | 源矩形左上角点的 y 坐标。 |
| destinationX | Int32 | 目标矩形左上角点的 x 坐标。 |
| destinationY | Int32 | 目标矩形左上角点的 y 坐标。 |
| blockRegionSize | Size | 要传输的区域的大小。 |
| copyPixelOperation | CopyPixelOperation | 中的一个[`CopyPixelOperation`](../../copypixeloperation)价值观。 |

### 也可以看看

* struct [Size](../../size)
* enum [CopyPixelOperation](../../copypixeloperation)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

## CopyFromScreen(Point, Point, Size, CopyPixelOperation) {#copyfromscreen_2}

执行颜色数据的位块传输，对应于像素的矩形，从屏幕到绘图表面Graphics.

```csharp
public void CopyFromScreen(Point upperLeftSource, Point upperLeftDestination, Size blockRegionSize, 
    CopyPixelOperation copyPixelOperation)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| upperLeftSource | Point | 源矩形左上角的点。 |
| upperLeftDestination | Point | 目标矩形左上角的点。 |
| blockRegionSize | Size | 要转移的区域的大小.. |
| copyPixelOperation | CopyPixelOperation | 没有[`CopyPixelOperation`](../../copypixeloperation)价值观。 |

### 也可以看看

* struct [Point](../../point)
* struct [Size](../../size)
* enum [CopyPixelOperation](../../copypixeloperation)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Drawing.dll -->
