Ανάγνωση στα Αγγλικά

Κοινή χρήση μέσω


BitmapLocker Class

Definition

Disposable helper class to aid in the Bitmap.LockBits/Bitmap.UnlockBits dance.

C++
public ref class BitmapLocker : 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.

Applies to

Προϊόν Εκδόσεις
Visual Studio SDK 2015, 2017, 2019, 2022