## Bitmap.LockBits method

Serrature aBitmap nella memoria di sistema.

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

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| rect | Rectangle | UNRectangle struttura che specifica la porzione di Bitmap chiudere a chiave. |
| flags | ImageLockMode | UnImageLockMode enumerazione che specifica il livello di accesso (lettura/scrittura) per ilBitmap. |
| format | PixelFormat | UNPixelFormat enumerazione che specifica il formato dei dati di this Bitmap. |

### Valore di ritorno

UNBitmapData contenente informazioni su questa operazione di blocco.

### Guarda anche

* class [BitmapData](../../../system.drawing.imaging/bitmapdata)
* struct [Rectangle](../../rectangle)
* enum [ImageLockMode](../../../system.drawing.imaging/imagelockmode)
* enum [PixelFormat](../../../system.drawing.imaging/pixelformat)
* class [Bitmap](../../bitmap)
* spazio dei nomi [System.Drawing](../../bitmap)
* assemblea [Aspose.Drawing](../../../)

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