Aurigma Graphics Mill 5.5 for .NET
Bitmap..::.LockBits Method
Locks a rectangular area of the bitmap and returns BitmapData object which provides direct access to pixels (without copying).
Overload List
| Name | Description | |
|---|---|---|
|
|
LockBits()()() |
Locks a entire bitmap and returns BitmapData object which provides direct access to pixels (without copying). |
|
|
LockBits(Rectangle) |
Locks a rectangular area of the bitmap and returns BitmapData object which provides direct access to pixels (without copying). |
|
|
LockBits(RectangleF) |
Locks a rectangular area of the bitmap and returns BitmapData object which provides direct access to pixels (without copying). |
|
|
LockBits(Int32, Int32, Int32, Int32) |
Locks a rectangular area of the bitmap and returns BitmapData object which provides direct access to pixels (without copying). |
|
|
LockBits(Single, Single, Single, Single) |
Locks a rectangular area of the bitmap and returns BitmapData object which provides direct access to pixels (without copying). |
Remarks
Each call of this method should be followed with subsequent UnlockBits(BitmapData) method call. You cannot lock bits one more time until you unlock them with UnlockBits(BitmapData). You can check if bits are locked with BitsLocked property.