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

Effectue un transfert par bloc de bits de données de couleur, correspondant à un rectangle de pixels, de l'écran vers la surface de dessin duGraphics .

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

| Paramètre | Taper | La description |
| --- | --- | --- |
| upperLeftSource | Point | Le point dans le coin supérieur gauche du rectangle source. |
| upperLeftDestination | Point | Le point dans le coin supérieur gauche du rectangle de destination. |
| blockRegionSize | Size | La taille de la zone à transférer. |

### Voir également

* struct [Point](../../point)
* struct [Size](../../size)
* class [Graphics](../../graphics)
* espace de noms [System.Drawing](../../graphics)
* Assemblée [Aspose.Drawing](../../../)

---

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

Effectue un transfert par bloc de bits des données de couleur, correspondant à un rectangle de pixels, de l'écran vers la surface de dessin duGraphics .

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

| Paramètre | Taper | La description |
| --- | --- | --- |
| sourceX | Int32 | Coordonnée x du point dans le coin supérieur gauche du rectangle source. |
| sourceY | Int32 | Coordonnée y du point dans le coin supérieur gauche du rectangle source. |
| destinationX | Int32 | Coordonnée x du point dans le coin supérieur gauche du rectangle de destination. |
| destinationY | Int32 | Coordonnée y du point dans le coin supérieur gauche du rectangle de destination. |
| blockRegionSize | Size | La taille de la zone à transférer. |
| copyPixelOperation | CopyPixelOperation | Un de[`CopyPixelOperation`](../../copypixeloperation) valeurs. |

### Voir également

* struct [Size](../../size)
* enum [CopyPixelOperation](../../copypixeloperation)
* class [Graphics](../../graphics)
* espace de noms [System.Drawing](../../graphics)
* Assemblée [Aspose.Drawing](../../../)

---

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

Effectue un transfert par bloc de bits de données de couleur, correspondant à un rectangle de pixels, de l'écran vers la surface de dessin duGraphics .

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

| Paramètre | Taper | La description |
| --- | --- | --- |
| upperLeftSource | Point | Le point dans le coin supérieur gauche du rectangle source. |
| upperLeftDestination | Point | Le point dans le coin supérieur gauche du rectangle de destination. |
| blockRegionSize | Size | La taille de la zone à transférer. |
| copyPixelOperation | CopyPixelOperation | ne de la[`CopyPixelOperation`](../../copypixeloperation) valeurs. |

### Voir également

* struct [Point](../../point)
* struct [Size](../../size)
* enum [CopyPixelOperation](../../copypixeloperation)
* class [Graphics](../../graphics)
* espace de noms [System.Drawing](../../graphics)
* Assemblée [Aspose.Drawing](../../../)

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