## Bitmap.LockBits method

Verrouille unBitmap dans la mémoire système.

```csharp
public BitmapData LockBits(Rectangle rect, ImageLockMode flags, PixelFormat format)
```

| Paramètre | Taper | La description |
| --- | --- | --- |
| rect | Rectangle | UNRectangle structure spécifiant la partie de the Bitmap verrouiller. |
| flags | ImageLockMode | UnImageLockMode énumération spécifiant le niveau d'accès (lecture/écriture) pour leBitmap. |
| format | PixelFormat | UNPixelFormat énumération spécifiant le format de données de this Bitmap. |

### Return_Value

UNBitmapData contenant des informations sur cette opération de verrouillage.

### Voir également

* class [BitmapData](../../../system.drawing.imaging/bitmapdata)
* struct [Rectangle](../../rectangle)
* enum [ImageLockMode](../../../system.drawing.imaging/imagelockmode)
* enum [PixelFormat](../../../system.drawing.imaging/pixelformat)
* class [Bitmap](../../bitmap)
* espace de noms [System.Drawing](../../bitmap)
* Assemblée [Aspose.Drawing](../../../)

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