## Bitmap.LockBits method

Bloquea unBitmap en la memoria del sistema.

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

| Parámetro | Escribe | Descripción |
| --- | --- | --- |
| rect | Rectangle | ARectangle estructura que especifica la porción de the Bitmap para bloquear. |
| flags | ImageLockMode | UnImageLockMode enumeración que especifica el nivel de acceso (lectura/escritura) para elBitmap. |
| format | PixelFormat | APixelFormat enumeración que especifica el formato de datos de this Bitmap. |

### Valor_devuelto

ABitmapData que contiene información sobre esta operación de bloqueo.

### Ver también

* class [BitmapData](../../../system.drawing.imaging/bitmapdata)
* struct [Rectangle](../../rectangle)
* enum [ImageLockMode](../../../system.drawing.imaging/imagelockmode)
* enum [PixelFormat](../../../system.drawing.imaging/pixelformat)
* class [Bitmap](../../bitmap)
* espacio de nombres [System.Drawing](../../bitmap)
* asamblea [Aspose.Drawing](../../../)

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