BitmapLocker Class

Visual Studio 2015
 

A disposable helper class that helps lock and unlock bitmap bits.

Namespace:   Microsoft.VisualStudio.Imaging
Assembly:  Microsoft.VisualStudio.Imaging (in Microsoft.VisualStudio.Imaging.dll)

System::Object
  Microsoft.VisualStudio.Imaging::BitmapLocker

public ref class BitmapLocker : IDisposable

NameDescription
System_CAPS_pubmethodBitmapLocker(Bitmap^)

Locks the bits for the specified bitmap in read-only mode.

System_CAPS_pubmethodBitmapLocker(Bitmap^, ImageLockMode)

Locks the bits for the bitmap.

System_CAPS_pubmethodBitmapLocker(Bitmap^, ImageLockMode, Rectangle)

Locks the bits for the bitmap.

NameDescription
System_CAPS_pubpropertyBitmap

Gets the bitmap locked by this BitmapLocker.

System_CAPS_pubpropertyBitmapData

Gets the BitmapData for the bitmap locked by this object

NameDescription
System_CAPS_pubmethodDispose()

Unlocks the bits and disposes this object.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: