Bitmap.LockBits
Bitmap.LockBits method
Locks a Bitmap into system memory.
public BitmapData LockBits(Rectangle rect, ImageLockMode flags, PixelFormat format)
Parameter | Type | Description |
---|---|---|
rect | Rectangle | A Rectangle structure specifying the portion of the Bitmap to lock. |
flags | ImageLockMode | An ImageLockMode enumeration specifying the access level (read/write) for the Bitmap. |
format | PixelFormat | A PixelFormat enumeration specifying the data format of this Bitmap. |
Return Value
A BitmapData containing information about this lock operation.
See Also
- class BitmapData
- struct Rectangle
- enum ImageLockMode
- enum PixelFormat
- class Bitmap
- namespace System.Drawing
- assembly Aspose.Drawing