BitmapLocker Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Disposable helper class to aid in the Bitmap.LockBits/Bitmap.UnlockBits dance.
public ref class BitmapLocker : IDisposable
public class BitmapLocker : IDisposable
type BitmapLocker = class
interface IDisposable
Public Class BitmapLocker
Implements IDisposable
- Inheritance
-
BitmapLocker
- Implements
Constructors
BitmapLocker(Bitmap, ImageLockMode, Rectangle) |
Locks the bits for the bitmap. |
BitmapLocker(Bitmap, ImageLockMode) |
Locks the bits for the bitmap. |
BitmapLocker(Bitmap) |
Locks the bits for the bitmap in ReadOnly mode |
Properties
Bitmap |
Bitmap locked by this object |
BitmapData |
BitmapData for the bitmap locked by this object |
Methods
Dispose() |
Unlocks the bits and disposes this object. |