## Bitmap.LockBits method

Sperren aBitmap in den Systemspeicher.

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

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| rect | Rectangle | EINRectangle Struktur, die den Teil von the angibtBitmap abschließen. |
| flags | ImageLockMode | EinImageLockMode Enumeration, die die Zugriffsebene (Lesen/Schreiben) für die angibtBitmap. |
| format | PixelFormat | EINPixelFormat Enumeration, die das Datenformat von this angibtBitmap. |

### Rückgabewert

EINBitmapData enthält Informationen zu dieser Sperroperation.

### Siehe auch

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

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